Re: [PATCH v2] am: Allow passing --no-verify flag
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 27, 2022, 01:27 UTC
- Message-ID
- <xmqqv8n19ofx.fsf@gitster.g>
- In-Reply-To
- <Y4D+UU6l3YN9r9Xn@orome>
Thierry Reding <thierry.reding@gmail.com> writes:
Show 5 quoted lines
> Thinking a bit more about this, if we let applypatch-msg run but ignore > failures and continue on to commit the result, wouldn't that potentially > allow committing garbage? I'm thinking about cases where applypatch-msg > may attempt to normalize the message and fails badly, leaving a partial > commit message or none at all.
That is a very reasonable way to think about this. So I am sold on your approach of not running the hook at all.
Thanks.