Skip to content

Commit

Permalink
Merge pull request #2393 from gaige/set-default-branch-for-tests-2391
Browse files Browse the repository at this point in the history
force default branch name for tests
  • Loading branch information
asottile committed May 15, 2022
2 parents 9eccd9c + 34e9702 commit e93c1c6
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 e93c1c6

Please sign in to comment.