git-commit --amend: allow empty commit.
authorJunio C Hamano <junkio@cox.net>
Sun, 5 Mar 2006 04:36:28 +0000 (20:36 -0800)
committerJunio C Hamano <junkio@cox.net>
Sun, 5 Mar 2006 08:57:01 +0000 (00:57 -0800)
commit8588452ceb78b1da17652ba03f9942ef740e07ea
treed94d5ceebbdf05a5e98923a00bbed41c0f676378
parent1c7fee5d0857d809fe5d93a1d56968e44296ce55
git-commit --amend: allow empty commit.

When amending a commit only to update the commit log message, git-status
would rightly say "Nothing to commit."  Do not let this prevent commit to
be made.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-commit.sh