Show the branch name more prominently in "git status".
[gitweb.git] / git-commit-script
index e47a090c970f86f9c790deae455b4fcaf51c30f6..4987e37861adac29af5bfd03a8d8e1e6932338e0 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