aboutsummaryrefslogtreecommitdiffstats
path: root/templates/hooks--pre-commit.sample
AgeCommit message (Expand)AuthorFilesLines
2023-12-03hooks--pre-commit: detect non-ASCII when renamingJulian Prein1-1/+1
2020-01-21templates: fix deprecated type option `--bool`Lucius Hu1-1/+1
2018-05-02Update shell scripts to compute empty tree object IDbrian m. carlson1-1/+1
2013-09-24sample pre-commit hook: use --bool when retrieving config varJohan Herland1-1/+1
2013-07-15templates: spell ASCII in uppercase in pre-commit hookRichard Hartmann1-3/+3
2013-07-15templates: Reformat pre-commit hook's messageRichard Hartmann1-4/+2
2013-07-15templates: Use heredoc in pre-commit hookRichard Hartmann1-12/+13
2011-10-26make the sample pre-commit hook script reject names with newlines, tooJim Meyering1-2/+6
2010-03-20Modernize git calling conventions in hook templatesBen Walton1-2/+2
2009-11-06pre-commit.sample: Diff against the empty tree when HEAD is invalidBjörn Steinbrink1-9/+9
2009-09-22pre-commit.sample: add comment re tr portability; fix grammarJim Meyering1-4/+7
2009-05-20Extend sample pre-commit hook to check for non ascii filenamesHeiko Voigt1-0/+25
2009-05-16pre-commit.sample: don't print incidental SHA1Jim Meyering1-1/+1
2008-06-26Update sample pre-commit hook to use "diff --check"Junio C Hamano1-58/+6
2008-06-24Ship sample hooks with .sample suffixJunio C Hamano1-0/+70