path: root/templates/hooks--pre-commit.sample
AgeCommit message (Expand)Author
2020-01-21templates: fix deprecated type option `--bool`Lucius Hu
2018-05-02Update shell scripts to compute empty tree object IDbrian m. carlson
2013-09-24sample pre-commit hook: use --bool when retrieving config varJohan Herland
2013-07-15templates: spell ASCII in uppercase in pre-commit hookRichard Hartmann
2013-07-15templates: Reformat pre-commit hook's messageRichard Hartmann
2013-07-15templates: Use heredoc in pre-commit hookRichard Hartmann
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