Code

[PATCH] git-commit-script fix for degenerated merge
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Fri, 5 Aug 2005 15:34:38 +0000 (17:34 +0200)
committerJunio C Hamano <junkio@cox.net>
Sat, 6 Aug 2005 06:06:58 +0000 (23:06 -0700)
commiteca35ecdcaa1448de8cc9ec64590f47a9012264a
treeaf11615a155e302b9cf8426b1f146c8a44814045
parent64f8a631e1112efdd4d4236442d59fe871da4bac
[PATCH] git-commit-script fix for degenerated merge

If merging results in an unchanged tree, git-commit-script should not
complain that there's nothing to commit.

Also, add "[--all]" to usage().

[jc: usually there is no reason to record an unchanging merge,
but this code path is triggered only when there is a nontrivial
merge that needed to be resolved by hand, and we should be able
to record the fact that these two tree heads are dealt with as a
regular two-parent commit in order to help later merges.]

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