From 3c9ae64c81bf6261fa9b19de5b6134e321905838 Mon Sep 17 00:00:00 2001 From: Bert Wesarg Date: Thu, 9 Dec 2010 21:47:55 +0100 Subject: [PATCH] git-gui: there is no "mode *" diff header line Signed-off-by: Bert Wesarg Signed-off-by: Pat Thoyts --- lib/diff.tcl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/diff.tcl b/lib/diff.tcl index aa30089..20f50dd 100644 --- a/lib/diff.tcl +++ b/lib/diff.tcl @@ -417,8 +417,7 @@ proc read_diff {fd conflict_size cont_info} { # if {[string match {@@@ *} $line]} {set is_3way_diff 1} - if {[string match {mode *} $line] - || [string match {new file *} $line] + if {[string match {new file *} $line] || [regexp {^(old|new) mode *} $line] || [string match {deleted file *} $line] || [string match {deleted symlink} $line] -- 2.11.4.GIT