summaryrefslogtreecommitdiff
path: root/templates/hooks--pre-commit.sample
AgeCommit message (Expand)AuthorFilesLines
2013-09-24sample pre-commit hook: use --bool when retrieving config varLibravatar Johan Herland1-1/+1
2013-07-15templates: spell ASCII in uppercase in pre-commit hookLibravatar Richard Hartmann1-3/+3
2013-07-15templates: Reformat pre-commit hook's messageLibravatar Richard Hartmann1-4/+2
2013-07-15templates: Use heredoc in pre-commit hookLibravatar Richard Hartmann1-12/+13
2011-10-26make the sample pre-commit hook script reject names with newlines, tooLibravatar Jim Meyering1-2/+6
2010-03-20Modernize git calling conventions in hook templatesLibravatar Ben Walton1-2/+2
2009-11-06pre-commit.sample: Diff against the empty tree when HEAD is invalidLibravatar Björn Steinbrink1-9/+9
2009-09-22pre-commit.sample: add comment re tr portability; fix grammarLibravatar Jim Meyering1-4/+7
2009-05-20Extend sample pre-commit hook to check for non ascii filenamesLibravatar Heiko Voigt1-0/+25
2009-05-16pre-commit.sample: don't print incidental SHA1Libravatar Jim Meyering1-1/+1
2008-06-26Update sample pre-commit hook to use "diff --check"Libravatar Junio C Hamano1-58/+6
2008-06-24Ship sample hooks with .sample suffixLibravatar Junio C Hamano1-0/+70