Re: [PATCH 4/4] cherry-pick: Add `--empty` for more robust redundant commit handling
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 21, 2024, 22:41 UTC
- Message-ID
- <xmqq8r4ie2ce.fsf@gitster.g>
- In-Reply-To
- <CAHPHrSddqTEjtfhgVJ=vmRhbtuwXcGEiE1KFZqR1QhKw-HDtSg@mail.gmail.com>
Brian Lyles <brianmlyles@gmail.com> writes:
Show 6 quoted lines
>> Trailing whitespace on this line. > > Thank you -- This will be corrected with v2. > > Is the sample pre-commit hook the ideal way to prevent this in the > future?
The example we ship in templates/hooks--pre-commit.sample in our source has such a check at the end of it.