From: Junio C Hamano Date: Sun, 21 Jan 2024 22:41:37 GMT Subject: Re: [PATCH 4/4] cherry-pick: Add `--empty` for more robust redundant commit handling Message-ID: In-Reply-To: Brian Lyles writes: >> 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.