When I add a commit-msg hook which exits with 1 to indicate some error, the original git commit message is gone/not used when I run git commit again.
Is there a way to retain the old commit message so that I do not have to enter the whole message again but just edit the old commit message instead?