summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fba6072)
raw | patch | inline | side by side (parent: fba6072)
author | Shawn O. Pearce <spearce@spearce.org> | |
Fri, 14 Dec 2007 06:51:22 +0000 (01:51 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Fri, 14 Dec 2007 06:51:22 +0000 (01:51 -0500) |
Johannes Sixt pointed out the diff headers "old mode ..." and
"new mode ..." were not being parsed properly by git-gui. We
now include them in the diff viewer for a file.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
"new mode ..." were not being parsed properly by git-gui. We
now include them in the diff viewer for a file.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/diff.tcl | patch | blob | history |
diff --git a/lib/diff.tcl b/lib/diff.tcl
index 43565e412fa6c3c96487051c3997424e7d144b22..18aba3eae34297471aa905c9e157e1b5aedd369e 100644 (file)
--- a/lib/diff.tcl
+++ b/lib/diff.tcl
if {[string match {mode *} $line]
|| [string match {new file *} $line]
+ || [regexp {^(old|new) mode *} $line]
|| [string match {deleted file *} $line]
|| [string match {deleted symlink} $line]
|| [string match {Binary files * and * differ} $line]