summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernt Hansen <bernt@alumni.uwaterloo.ca>2007-12-28 02:15:56 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-12-30 02:03:55 (GMT)
commita6d5888fa1bb24ef34ce36f0e684d13a58eba908 (patch)
tree33f3501e2f7cf3284b6c92cd33a02e74e55451da
parentf0e8692a091195c8642923fd410553c293895d75 (diff)
downloadgit-a6d5888fa1bb24ef34ce36f0e684d13a58eba908.zip
git-a6d5888fa1bb24ef34ce36f0e684d13a58eba908.tar.gz
git-a6d5888fa1bb24ef34ce36f0e684d13a58eba908.tar.bz2
git-gui: Make commit log messages end with a newlinegitgui-0.9.1
Concatenating commit log messages from multiple commits works better when all of the commits end with a clean line break. Its good to be strict in what you create, and lenient in what you accept, and since we're creating here, we should always try to Do The Right Thing(tm). Signed-off-by: Bernt Hansen <bernt@alumni.uwaterloo.ca> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
-rw-r--r--lib/commit.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/commit.tcl b/lib/commit.tcl
index b2d2d53..1c0586c 100644
--- a/lib/commit.tcl
+++ b/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.