summaryrefslogtreecommitdiff
path: root/templates/hooks--pre-commit.sample
AgeCommit message (Expand)AuthorFilesLines
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