diff --git a/git-commit.sh b/git-commit.sh
index 1d04f1ff31cf99a6dec1d52866668007ab2dae72..41538f16e5dd8a6dea55933fa32926d758d24ea0 100755 (executable)
--- a/git-commit.sh
+++ b/git-commit.sh
# we need to check if there is anything to commit
run_status >/dev/null
fi
-if [ "$?" != "0" -a ! -f "$GIT_DIR/MERGE_HEAD" -a -z "$amend" ]
+if [ "$?" != "0" -a ! -f "$GIT_DIR/MERGE_HEAD" ]
then
rm -f "$GIT_DIR/COMMIT_EDITMSG" "$GIT_DIR/SQUASH_MSG"
use_status_color=t