commit | df34297af1fe5da786e41bd2fee58e10dd810cc4 | [log] [tgz] |
---|---|---|
author | Santi_Béjar <sbejar@gmail.com> | Wed Oct 05 18:58:10 2005 +0200 |
committer | Junio C Hamano <junkio@cox.net> | Wed Oct 05 11:23:23 2005 -0700 |
tree | dc721a63b8221995616e3013de11e71d94da01ef | |
parent | 85912b06734286108d0ec33f0479677e2fce252d [diff] [blame] |
[PATCH] Quote the missing GIT_DIR. Signed-off-by: Santi Béjar <sbejar@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
diff --git a/git-commit.sh b/git-commit.sh index 5e85b54..591fcdc 100755 --- a/git-commit.sh +++ b/git-commit.sh
@@ -198,7 +198,7 @@ PARENTS="" fi git-status >>.editmsg -if [ "$?" != "0" -a ! -f $GIT_DIR/MERGE_HEAD ] +if [ "$?" != "0" -a ! -f "$GIT_DIR/MERGE_HEAD" ] then rm -f .editmsg git-status