Skip to content

Commit bffa6de

Browse files
committed
test: Ignore global hooks
1 parent 83f60ba commit bffa6de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_helper.bash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ setup() {
2020
git -c "init.templatedir=$TMP_DIRECTORY/templates" init
2121
git config user.email "test@git-good-commit"
2222
git config user.name "Git Good Commit Tests"
23+
git config core.hooksPath '.git/hooks'
2324
echo "Foo bar" > my_file
2425
git add my_file
2526
mkdir -p .git/hooks

0 commit comments

Comments
 (0)