summaryrefslogtreecommitdiff
path: root/templates/hooks--pre-commit.sample
AgeCommit message (Expand)Author
2011-10-26make the sample pre-commit hook script reject names with newlines, tooJim Meyering
2010-03-20Modernize git calling conventions in hook templatesBen Walton
2009-11-07pre-commit.sample: Diff against the empty tree when HEAD is invalidBjörn Steinbrink
2009-09-22pre-commit.sample: add comment re tr portability; fix grammarJim Meyering
2009-05-20Extend sample pre-commit hook to check for non ascii filenamesHeiko Voigt
2009-05-16pre-commit.sample: don't print incidental SHA1Jim Meyering
2008-06-27Update sample pre-commit hook to use "diff --check"Junio C Hamano
2008-06-25Ship sample hooks with .sample suffixJunio C Hamano