diff options
Diffstat (limited to 'git-gui/lib')
-rw-r--r-- | git-gui/lib/commit.tcl | 2 | ||||
-rw-r--r-- | git-gui/lib/diff.tcl | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/git-gui/lib/commit.tcl b/git-gui/lib/commit.tcl index b2d2d53086..1c0586c409 100644 --- a/git-gui/lib/commit.tcl +++ b/git-gui/lib/commit.tcl @@ -303,7 +303,7 @@ A rescan will be automatically started now. puts stderr [mc "warning: Tcl does not support encoding '%s'." $enc] fconfigure $msg_wt -encoding utf-8 } - puts -nonewline $msg_wt $msg + puts $msg_wt $msg close $msg_wt # -- Create the commit. diff --git a/git-gui/lib/diff.tcl b/git-gui/lib/diff.tcl index 43565e412f..18aba3eae3 100644 --- a/git-gui/lib/diff.tcl +++ b/git-gui/lib/diff.tcl @@ -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] |