summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 51bd9d7)
raw | patch | inline | side by side (parent: 51bd9d7)
author | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 1 Mar 2007 19:37:34 +0000 (14:37 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 1 Mar 2007 19:37:34 +0000 (14:37 -0500) |
Git 1.5.0 and later no longer output useless messages to standard
error when making the initial (or what looks to be) commit of a
repository. Since /dev/null does not exist on Windows in the
MinGW environment we can't redirect there anyway. Since Git
does not output anymore, I'm removing the redirection.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
error when making the initial (or what looks to be) commit of a
repository. Since /dev/null does not exist on Windows in the
MinGW environment we can't redirect there anyway. Since Git
does not output anymore, I'm removing the redirection.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | patch | blob | history |
diff --git a/git-gui.sh b/git-gui.sh
index 743099c57301bc4af103162e0279559a6e211638..1981827a8e8bcc2b2e43598bb06e3e6c87bd4d1d 100755 (executable)
--- a/git-gui.sh
+++ b/git-gui.sh
# -- Create the commit.
#
set cmd [list git commit-tree $tree_id]
- set parents [concat $PARENT $MERGE_HEAD]
- if {[llength $parents] > 0} {
- foreach p $parents {
- lappend cmd -p $p
- }
- } else {
- # git commit-tree writes to stderr during initial commit.
- lappend cmd 2>/dev/null
+ foreach p [concat $PARENT $MERGE_HEAD] {
+ lappend cmd -p $p
}
lappend cmd <$msg_p
if {[catch {set cmt_id [eval exec $cmd]} err]} {