summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 963ceab)
raw | patch | inline | side by side (parent: 963ceab)
author | Bert Wesarg <bert.wesarg@googlemail.com> | |
Thu, 9 Dec 2010 20:47:57 +0000 (21:47 +0100) | ||
committer | Pat Thoyts <patthoyts@users.sourceforge.net> | |
Fri, 28 Jan 2011 09:01:17 +0000 (09:01 +0000) |
Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
lib/diff.tcl | patch | blob | history |
diff --git a/lib/diff.tcl b/lib/diff.tcl
index 22909194d97477febb94291a55a4b8f438bf6c68..91ed7c638c507421cdfc87ad923c6787d79d31a9 100644 (file)
--- a/lib/diff.tcl
+++ b/lib/diff.tcl
foreach {line markup} [parse_color_line $line] break
set line [string map {\033 ^} $line]
+ set tags {}
+
# -- Check for start of diff header.
if { [string match {diff --git *} $line]
|| [string match {diff --cc *} $line]
|| [string match {Binary files * and * differ} $line]
|| $line eq {\ No newline at end of file}
|| [regexp {^\* Unmerged path } $line]} {
- set tags {}
} elseif {$is_3way_diff} {
set op [string range $line 0 1]
switch -- $op {