Re: [PATCH v2] add: support pre-add hook
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 11, 2026, 21:24 UTC
- Message-ID
- <xmqqfr77rn1t.fsf@gitster.g>
- In-Reply-To
- <2kX5wTQeOz3VPzUT6QiH_KyB9RMMtf8L3I8N6WtVWHaVQ1ZguBTaqAqFcFgOGpCqv-RJyALKlsENx-g7E3DMx3TzCfZoaRtPEpoDyx6d9kg=@pm.me>
Chandra <Chandrakr@pm.me> writes:
>> the word pre-add ... would not look good > > Originally, I wanted to call these pre-staging hooks.
I was not talking about the choice of words. If pre-commit interferes before a commit is made in 'git commit', pre-add is a natural phrase to use to interfere 'git add'.
It was a comment only on how it is typeset in the documentation, e.g., should it be `pre-add` (for verbatim), 'pre-add', _pre_add_, etc.