]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t7503-pre-commit-and-pre-merge-commit-hooks.sh
tests: mark tests relying on the current default for `init.defaultBranch`
[thirdparty/git.git] / t / t7503-pre-commit-and-pre-merge-commit-hooks.sh
index b3485450a2059d0fefbc18d098a87aa03705ed66..8d3f4ab0d78198df114ac5d36804f0a8736ae29a 100755 (executable)
@@ -2,6 +2,9 @@
 
 test_description='pre-commit and pre-merge-commit hooks'
 
+GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=master
+export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
+
 . ./test-lib.sh
 
 HOOKDIR="$(git rev-parse --git-dir)/hooks"