Re: [PATCH v2 2/3] advice: fix an unexpected leading space
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 12, 2024, 21:19 UTC
- Message-ID
- <xmqqcyu69rn9.fsf@gitster.g>
- In-Reply-To
- <xmqqsf32bfsn.fsf@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
> ... How about doing it in the pre-commit hook?
Sorry, as it runs before obtaining the proposed commit log message and making a commit, pre-commit is a wrong one to use. I meant to say commit-msg hook that is used to verify the contents of the proposed commit log message.