Closed stevenharman closed 12 years ago
That is, when using an existing commit object via -c, -C, or --amend, be sure to exit gracefully. We know one of these options were invoked when the prepare-commit-msg hook receives commit as the source argument.
-c
-C
--amend
prepare-commit-msg
commit
Closed with b09fcfe8f5fe681ae289595a594844d81294aa06
That is, when using an existing commit object via
-c
,-C
, or--amend
, be sure to exit gracefully. We know one of these options were invoked when theprepare-commit-msg
hook receivescommit
as the source argument.