Re: [GIT PULL] HID for 6.11

From: Konstantin Ryabitsev
Date: Mon Jul 22 2024 - 09:58:24 EST


On Mon, Jul 22, 2024 at 03:32:48PM GMT, Krzysztof Kozlowski wrote:
> > this commit broke b4 for everyone starting next-20240719, as it's
> > an empty cover letter with b4 tracking information
>
> Konrad gave me idea which could at least protect final tree from such
> mistakes - commit hook for merges, something like:
>
> https://github.com/krzk/tools/blob/master/linux/verify_b4.sh
> https://github.com/krzk/tools/blob/master/linux/git-hooks-post-merge

I'll include something like this into the contrib section.

Unfortunately, I'm not sure we can ever completely avoid this, but perhaps
linux-next can add a check to see if any of the commits in a merge contain
"--b4-submit-tracking--" and then refuse to consider it?

-K