Fix cvsimport warning when called without --no-cvs-direct
[git.git] / git-commit.sh
index 5e85b54..591fcdc 100755 (executable)
@@ -198,7 +198,7 @@ else
        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