Skip to content

Commit

Permalink
force default branch name for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gaige authored and asottile committed May 15, 2022
1 parent 9eccd9c commit 34e9702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/fixtures.py
Expand Up @@ -38,7 +38,7 @@ def copy_tree_to_path(src_dir, dest_dir):

def git_dir(tempdir_factory):
path = tempdir_factory.get()
cmd_output('git', 'init', path)
cmd_output('git', '-c', 'init.defaultBranch=master', 'init', path)
return path


Expand Down

0 comments on commit 34e9702

Please sign in to comment.