summaryrefslogtreecommitdiff
path: root/templates/hooks--pre-commit.sample
Commit message (Expand)AuthorAgeFilesLines
* make the sample pre-commit hook script reject names with newlines, tooJim Meyering2011-10-261-2/+6
* Modernize git calling conventions in hook templatesBen Walton2010-03-201-2/+2
* pre-commit.sample: Diff against the empty tree when HEAD is invalidBjörn Steinbrink2009-11-061-9/+9
* pre-commit.sample: add comment re tr portability; fix grammarJim Meyering2009-09-221-4/+7
* Extend sample pre-commit hook to check for non ascii filenamesHeiko Voigt2009-05-201-0/+25
* pre-commit.sample: don't print incidental SHA1Jim Meyering2009-05-161-1/+1
* Update sample pre-commit hook to use "diff --check"Junio C Hamano2008-06-261-58/+6
* Ship sample hooks with .sample suffixJunio C Hamano2008-06-241-0/+70