Merge branch 'maint'

* maint:
  Fix sample pre-commit hook
This commit is contained in:
Junio C Hamano 2007-11-22 23:25:42 -08:00
commit f81117b84d

View File

@ -13,7 +13,7 @@
if git-rev-parse --verify HEAD 2>/dev/null if git-rev-parse --verify HEAD 2>/dev/null
then then
git-diff-index -p -M --cached HEAD git-diff-index -p -M --cached HEAD --
else else
# NEEDSWORK: we should produce a diff with an empty tree here # NEEDSWORK: we should produce a diff with an empty tree here
# if we want to do the same verification for the initial import. # if we want to do the same verification for the initial import.