summaryrefslogtreecommitdiffstats
path: root/tools/test-hook.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:24:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:24:58 +0000
commitba233a0cbad76b4783a03893e7bf4716fbc0f0ec (patch)
treead369728c1edbe3631c8150585659078ae5d7d0b /tools/test-hook.sh
parentReleasing progress-linux version 6.17.2-3~progress7.99u1. (diff)
downloadansible-lint-ba233a0cbad76b4783a03893e7bf4716fbc0f0ec.tar.xz
ansible-lint-ba233a0cbad76b4783a03893e7bf4716fbc0f0ec.zip
Merging upstream version 24.6.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tools/test-hook.sh')
-rwxr-xr-xtools/test-hook.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test-hook.sh b/tools/test-hook.sh
index 85d2d27..d83918e 100755
--- a/tools/test-hook.sh
+++ b/tools/test-hook.sh
@@ -12,7 +12,7 @@ set -euo pipefail
rm -rf .tox/x
mkdir -p .tox/x
cd .tox/x
-git init
+git init --initial-branch=main
# we add a file to the repo to avoid error due to no file to to lint
touch foo.yml
git add foo.yml