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

Douglas Bagnall douglas.bagnall at catalyst.net.nz
Mon Apr 9 12:35:07 UTC 2018


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.

Douglas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-configure-install-a-whitespace-checking-pre-commit-h.patch
Type: text/x-patch
Size: 2438 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180410/057524fa/0001-configure-install-a-whitespace-checking-pre-commit-h.bin>


More information about the samba-technical mailing list