Skip to content

Commit

Permalink
main default branch
Browse files Browse the repository at this point in the history
  • Loading branch information
praiskup committed Oct 4, 2024
1 parent 382573a commit dd0423d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/unit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def fix_tox_env():
subprocess.call(gconf + ['user.email', '[email protected]'], 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'])

Expand Down

0 comments on commit dd0423d

Please sign in to comment.