diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-11-22 23:25:42 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-22 23:25:42 -0800 |
commit | f81117b84d2c99a29acf06c6522aad54defbc760 (patch) | |
tree | 8aee73b01de4b652658de0f473ee47d2a0d942e8 | |
parent | Addendum to "MaintNotes" (diff) | |
parent | Fix sample pre-commit hook (diff) | |
download | tgif-f81117b84d2c99a29acf06c6522aad54defbc760.tar.xz |
Merge branch 'maint'
* maint:
Fix sample pre-commit hook
-rw-r--r-- | templates/hooks--pre-commit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/hooks--pre-commit b/templates/hooks--pre-commit index a19279b3e4..7092bae263 100644 --- a/templates/hooks--pre-commit +++ b/templates/hooks--pre-commit @@ -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. |