git gui replaces amend message when prepare-commit-msg hook is used
- From
Orgad Shaneh <orgads@gmail.com>
- Date
- Jul 4, 2013, 09:47 UTC
- Message-ID
- <CAGHpTBKOX8G1PZqE2njQ1UbFJeC_L6WxjnTC5NyT8LSbiBNGXw@mail.gmail.com>
Hi,
If a prepare-commit-msg hook is used, git gui executes it for "New Commit".
If the "New Commit" is selected, and then immediately "Amend" (before the hook returns), when the hook returns the message is replaced with the one produced by the hook.
- Orgad