From dd0423d79795fc184418e4165fa23dbff86becd1 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Fri, 4 Oct 2024 10:11:02 +0200 Subject: [PATCH] main default branch --- test/unit/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/unit/__init__.py b/test/unit/__init__.py index 55e2de90..9cb55933 100644 --- a/test/unit/__init__.py +++ b/test/unit/__init__.py @@ -67,6 +67,7 @@ def fix_tox_env(): subprocess.call(gconf + ['user.email', 'you@example.com'], cwd="/tmp") subprocess.call(gconf + ['user.name', 'Your Name'], cwd="/tmp") subprocess.call(gconf + ['--add', 'safe.directory', '*'], cwd="/tmp") + subprocess.call(gconf + ['init.defaultBranch', 'main'], cwd="/tmp") # tito tests need 'main' head, do it explicitly for github's checkout subprocess.call(['git', 'branch', 'main', 'origin/main'])