Browse Source

Merge branch 'maint'

* maint:
  Fix sample pre-commit hook
maint
Junio C Hamano 17 years ago
parent
commit
f81117b84d
  1. 2
      templates/hooks--pre-commit

2
templates/hooks--pre-commit

@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@

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

Loading…
Cancel
Save