Merge git://repo.or.cz/git-gui
[git/git.git] / git-gui / lib / diff.tcl
index 43565e4..18aba3e 100644 (file)
@@ -220,6 +220,7 @@ proc read_diff {fd} {
 
                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]