Fossil SCM

Skip diff for files that are ADDED_BY_INTEGRATE.

mistachkin 2015-10-26 01:18 trunk
Commit a6b999ce131c0f17c4c1e3350f5aa97db4a268f0
1 file changed +4
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -400,10 +400,14 @@
400400
srcid = 0;
401401
if( !asNewFile ){ showDiff = 0; }
402402
}else if( isChnged==3 ){
403403
fossil_print("ADDED_BY_MERGE %s\n", zPathname);
404404
srcid = 0;
405
+ if( !asNewFile ){ showDiff = 0; }
406
+ }else if( isChnged==5 ){
407
+ fossil_print("ADDED_BY_INTEGRATE %s\n", zPathname);
408
+ srcid = 0;
405409
if( !asNewFile ){ showDiff = 0; }
406410
}
407411
if( showDiff ){
408412
Blob content;
409413
int isBin;
410414
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -400,10 +400,14 @@
400 srcid = 0;
401 if( !asNewFile ){ showDiff = 0; }
402 }else if( isChnged==3 ){
403 fossil_print("ADDED_BY_MERGE %s\n", zPathname);
404 srcid = 0;
 
 
 
 
405 if( !asNewFile ){ showDiff = 0; }
406 }
407 if( showDiff ){
408 Blob content;
409 int isBin;
410
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -400,10 +400,14 @@
400 srcid = 0;
401 if( !asNewFile ){ showDiff = 0; }
402 }else if( isChnged==3 ){
403 fossil_print("ADDED_BY_MERGE %s\n", zPathname);
404 srcid = 0;
405 if( !asNewFile ){ showDiff = 0; }
406 }else if( isChnged==5 ){
407 fossil_print("ADDED_BY_INTEGRATE %s\n", zPathname);
408 srcid = 0;
409 if( !asNewFile ){ showDiff = 0; }
410 }
411 if( showDiff ){
412 Blob content;
413 int isBin;
414

Keyboard Shortcuts

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