##// END OF EJS Templates
hgk: do not ignore ---/+++ lines in diff
Fabian Kreutz -
r9989:60cefb8b stable
parent child Browse files
Show More
@@ -3154,8 +3154,8 b' proc getblobdiffline {bdf ids} {'
3154 set pad [string range "----------------------------------------" 1 $l]
3154 set pad [string range "----------------------------------------" 1 $l]
3155 $ctext insert end "$pad $header $pad\n" filesep
3155 $ctext insert end "$pad $header $pad\n" filesep
3156 set diffinhdr 1
3156 set diffinhdr 1
3157 } elseif {[regexp {^(---|\+\+\+)} $line]} {
3157 } elseif {[regexp {^(---|\+\+\+) } $line] && $diffinhdr} {
3158 set diffinhdr 0
3158 set diffinhdr 1
3159 } elseif {[regexp {^@@ -([0-9]+),([0-9]+) \+([0-9]+),([0-9]+) @@(.*)} \
3159 } elseif {[regexp {^@@ -([0-9]+),([0-9]+) \+([0-9]+),([0-9]+) @@(.*)} \
3160 $line match f1l f1c f2l f2c rest]} {
3160 $line match f1l f1c f2l f2c rest]} {
3161 if {$gaudydiff} {
3161 if {$gaudydiff} {
General Comments 0
You need to be logged in to leave comments. Login now