[PATCH] New git-apply test cases for patches with mulitple fragments.
[git.git] / git-commit-script
index e47a090..4987e37 100755 (executable)
@@ -195,8 +195,8 @@ else
 fi
 if [ "$?" != "0" -a ! -f $GIT_DIR/MERGE_HEAD ]
 then
-       sed -ne '/^#/p' .editmsg
-       rm .editmsg
+       rm -f .editmsg
+       git-status-script
        exit 1
 fi
 case "$no_edit" in