Fossil SCM

Fix a problem in the "fossil patch diff" command introduced by the previous --webpage check-in.

drh 2021-08-25 16:22 trunk
Commit 874e7fa7bbf60a372047261f775cd545f5967c7b5a2189a1433d01f7527486e4
1 file changed +1 -1
+1 -1
--- src/patch.c
+++ src/patch.c
@@ -724,11 +724,11 @@
724724
int fIncludeBinary, /* Do diffs against binary files */
725725
u64 diffFlags /* Other diff flags */
726726
){
727727
int nErr = 0;
728728
Stmt q;
729
- int bWebpage = (diffFlags && DIFF_WEBPAGE)!=0;
729
+ int bWebpage = (diffFlags & DIFF_WEBPAGE)!=0;
730730
Blob empty;
731731
blob_zero(&empty);
732732
733733
if( (mFlags & PATCH_FORCE)==0 ){
734734
/* Check to ensure that the patch is against the repository that
735735
--- src/patch.c
+++ src/patch.c
@@ -724,11 +724,11 @@
724 int fIncludeBinary, /* Do diffs against binary files */
725 u64 diffFlags /* Other diff flags */
726 ){
727 int nErr = 0;
728 Stmt q;
729 int bWebpage = (diffFlags && DIFF_WEBPAGE)!=0;
730 Blob empty;
731 blob_zero(&empty);
732
733 if( (mFlags & PATCH_FORCE)==0 ){
734 /* Check to ensure that the patch is against the repository that
735
--- src/patch.c
+++ src/patch.c
@@ -724,11 +724,11 @@
724 int fIncludeBinary, /* Do diffs against binary files */
725 u64 diffFlags /* Other diff flags */
726 ){
727 int nErr = 0;
728 Stmt q;
729 int bWebpage = (diffFlags & DIFF_WEBPAGE)!=0;
730 Blob empty;
731 blob_zero(&empty);
732
733 if( (mFlags & PATCH_FORCE)==0 ){
734 /* Check to ensure that the patch is against the repository that
735

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button