Issue when changing staged files in a pre-commit hook
- From
- Niek van der Kooy <niekvanderkooy@gmail.com>
- Date
- Dec 28, 2015, 12:17 UTC
- Message-ID
- <CAPYEnzGfnRbajDQAwBTNE5XSaB0WbHKbf1heRV0bUgbq5w_A5g@mail.gmail.com>
I am having an issue where the default commit message is not changed when adding staged files in a pre-commit hook. Please see http://stackoverflow.com/questions/34492779/git-update-git-status-part-of-commit-message-after-pre-commit-hook for details.
Is there a workaround / proper way to achieve what I am trying to do, or is this a bug?
Regards, Niek van der Kooy