pre-commit hook to reject whitespace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The reference manuals state in the hooks documentation that the pre-commit 
hook sample will reject whitespace only changes.  However, the 
pre-commit.sample in the 1.7.1 and 1.7.5.4 downloads do not appear to do 
this (I'm new to linux scripts).  The appear to only reject non-ascii 
filenames.  Does someone have a pre-commit hook example I can use to reject 
whitespace-only changes?  Thanks!

v/r,
neal 



--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]