19 Feb
2009
19 Feb
'09
4:54 a.m.
Bryan Ischo wrote:
Thanks ... I looked for the hook but can't find it. Any hints? Is the whitespace functionality included in the pre-commit.sample file? I didn't see it in there, but maybe it's encapsulated in the behavior of the git diff-index --check command run by the script.
Eh, forget I asked. I took the 2 seconds necessary to actually consult the man page for 'git diff-index' and found the answer to my question: yes, it tests for whitespace at the end of a line. Thanks, Bryan