aboutsummaryrefslogtreecommitdiff
path: root/templates/hooks--pre-commit.sample
Commit message (Expand)AuthorAge
* sample pre-commit hook: use --bool when retrieving config varJohan Herland2013-09-24
* templates: spell ASCII in uppercase in pre-commit hookRichard Hartmann2013-07-15
* templates: Reformat pre-commit hook's messageRichard Hartmann2013-07-15
* templates: Use heredoc in pre-commit hookRichard Hartmann2013-07-15
* 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