[PATCH for comments] configure: install a whitespace checking pre-commit hook for developers

Richard Sharpe realrichardsharpe at gmail.com
Mon Apr 9 13:53:08 UTC 2018


On Mon, Apr 9, 2018 at 5:35 AM, Douglas Bagnall via samba-technical
<samba-technical at lists.samba.org> wrote:
> Martin wrote:
>
>> The problem is that the *initial* proposal is not for a checkpatch
>> script that people can run *before* submitting their patch.  The
>> proposal is for something that runs at the submission gate.
>
> This patch shows a third way, still quite authoritarian but sort of
> opt-out-able and entirely local. It makes it harder to *create*
> patches that break the rules, not to submit them.
>
> It will also (I think) make it harder to `git am` a patch series that
> contains whitespace errors, and will possibly annoy people who make a
> lot of private WIP patches.

LGTM! RB+

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)



More information about the samba-technical mailing list