Merge branch 'maint'
* maint: Fix sample pre-commit hook
This commit is contained in:
commit
f81117b84d
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user