summaryrefslogtreecommitdiff
path: root/templates/hooks--pre-commit.sample
Commit message (Expand)AuthorAgeFilesLines
* sample pre-commit hook: use --bool when retrieving config varJohan Herland2013-09-241-1/+1
* templates: spell ASCII in uppercase in pre-commit hookrh/template-updatesRichard Hartmann2013-07-151-3/+3
* templates: Reformat pre-commit hook's messageRichard Hartmann2013-07-151-4/+2
* templates: Use heredoc in pre-commit hookRichard Hartmann2013-07-151-12/+13
* make the sample pre-commit hook script reject names with newlines, tooJim Meyering2011-10-261-2/+6
* Modernize git calling conventions in hook templatesBen Walton2010-03-201-2/+2
* pre-commit.sample: Diff against the empty tree when HEAD is invalidBjörn Steinbrink2009-11-061-9/+9
* pre-commit.sample: add comment re tr portability; fix grammarJim Meyering2009-09-221-4/+7
* Extend sample pre-commit hook to check for non ascii filenamesHeiko Voigt2009-05-201-0/+25
* pre-commit.sample: don't print incidental SHA1Jim Meyering2009-05-161-1/+1
* Update sample pre-commit hook to use "diff --check"Junio C Hamano2008-06-261-58/+6
* Ship sample hooks with .sample suffixJunio C Hamano2008-06-241-0/+70