git-am: do not allow empty commits by mistake.
authorJunio C Hamano <junkio@cox.net>
Fri, 24 Feb 2006 06:14:47 +0000 (22:14 -0800)
committerJunio C Hamano <junkio@cox.net>
Fri, 24 Feb 2006 06:14:47 +0000 (22:14 -0800)
commit6d28644d691fa3967d24d988d51d863f22bbcc63
tree4c35aec59268cc0b0c8fa2eacbf624792b466bcc
parent183bdb2cccff792f11fd9e825df67af446aff171
git-am: do not allow empty commits by mistake.

Running "git-am --resolved" without doing anything can create an empty
commit. Prevent it.

Thanks for Eric W. Biederman for spotting this.

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