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

Ralph Böhme slow at samba.org
Tue Apr 10 12:38:36 UTC 2018


On Tue, Apr 10, 2018 at 02:29:41PM +0200, Swen Schillig wrote:
> Ralph, don't you need to add that "--cached" parameter to your script
> as well ?
> As stated in one of my earlier mails, I believe you need that 'cause
> otherwise all modified files are checked and not just the ones which
> are part of the commit (were add'ed before).

are you sure? It's a commit hook after all so my expectation was it only check
what I commit. I'll check...

-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