index
:
git
master
git
Fast-forward packages
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
templates
/
hooks--pre-commit.sample
(
follow
)
Commit message (
Expand
)
Author
Age
Files
Lines
*
Update shell scripts to compute empty tree object ID
brian m. carlson
2018-05-02
1
-1
/
+1
*
sample pre-commit hook: use --bool when retrieving config var
Johan Herland
2013-09-24
1
-1
/
+1
*
templates: spell ASCII in uppercase in pre-commit hook
Richard Hartmann
2013-07-15
1
-3
/
+3
*
templates: Reformat pre-commit hook's message
Richard Hartmann
2013-07-15
1
-4
/
+2
*
templates: Use heredoc in pre-commit hook
Richard Hartmann
2013-07-15
1
-12
/
+13
*
make the sample pre-commit hook script reject names with newlines, too
Jim Meyering
2011-10-26
1
-2
/
+6
*
Modernize git calling conventions in hook templates
Ben Walton
2010-03-20
1
-2
/
+2
*
pre-commit.sample: Diff against the empty tree when HEAD is invalid
Björn Steinbrink
2009-11-07
1
-9
/
+9
*
pre-commit.sample: add comment re tr portability; fix grammar
Jim Meyering
2009-09-22
1
-4
/
+7
*
Extend sample pre-commit hook to check for non ascii filenames
Heiko Voigt
2009-05-20
1
-0
/
+25
*
pre-commit.sample: don't print incidental SHA1
Jim Meyering
2009-05-16
1
-1
/
+1
*
Update sample pre-commit hook to use "diff --check"
Junio C Hamano
2008-06-27
1
-58
/
+6
*
Ship sample hooks with .sample suffix
Junio C Hamano
2008-06-25
1
-0
/
+70