summaryrefslogtreecommitdiff
path: root/t/t3205-branch-color.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t3205-branch-color.sh')
-rwxr-xr-xt/t3205-branch-color.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t3205-branch-color.sh b/t/t3205-branch-color.sh
index 2a09442..08bd906 100755
--- a/t/t3205-branch-color.sh
+++ b/t/t3205-branch-color.sh
@@ -8,6 +8,7 @@ export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
test_expect_success 'set up some sample branches' '
test_commit foo &&
+ git branch -M main &&
git update-ref refs/remotes/origin/main HEAD &&
git update-ref refs/heads/other HEAD
'