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

Ralph Böhme slow at samba.org
Mon Apr 9 15:47:37 UTC 2018


Hi Douglas,

On Tue, Apr 10, 2018 at 12:35:07AM +1200, Douglas Bagnall via samba-technical 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.

this looks like as if it could be it. I'll give it a whirl. Thanks!

-slow

-- 
Ralph Boehme, Samba Team       https://samba.org/
Samba Developer, SerNet GmbH   https://sernet.de/en/samba/
GPG Key Fingerprint:           FAE2 C608 8A24 2520 51C5
                               59E4 AA1E 9B71 2639 9E46



More information about the samba-technical mailing list