aboutsummaryrefslogtreecommitdiff
path: root/templates/hooks--pre-commit.sample
Commit message (Expand)AuthorAge
* make the sample pre-commit hook script reject names with newlines, tooJim Meyering2011-10-26
* Modernize git calling conventions in hook templatesBen Walton2010-03-20
* pre-commit.sample: Diff against the empty tree when HEAD is invalidBjörn Steinbrink2009-11-06
* pre-commit.sample: add comment re tr portability; fix grammarJim Meyering2009-09-22
* Extend sample pre-commit hook to check for non ascii filenamesHeiko Voigt2009-05-20
* pre-commit.sample: don't print incidental SHA1Jim Meyering2009-05-16
* Update sample pre-commit hook to use "diff --check"Junio C Hamano2008-06-26
* Ship sample hooks with .sample suffixJunio C Hamano2008-06-24