[PATCH for comments] configure: install a whitespace checking pre-commit hook for developers
slow at samba.org
Tue Apr 10 06:20:55 UTC 2018
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.
[slow at kazak scratch]$ git am ~/patches/0001-configure-install-a-whitespace-checking-pre-commit-h.patch
Applying: configure: install a whitespace checking pre-commit hook for developers
.git/rebase-apply/patch:46: trailing whitespace.
# simple default.
warning: 1 line adds whitespace errors.
[slow at kazak scratch]$
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