It does not fail when -C HEAD is used.
Specifically I did...
Modify Makefile.in (random file).
git commit -a --amend
<:wq when vi opens, i.e. save without making changes>
<failure>
Modify Makefile.in
git commit -a -C HEAD --amend
<successful completion>
Modify Makefile.in
git commit -a --amend
<:wq save without making change>
<failure>
-brandon
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html