-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly name initial branch in tests
For systems that have init.defaultBranch set globally
- Loading branch information
Viktor Dick
committed
Sep 30, 2023
1 parent
7473079
commit 06dad51
Showing
3 changed files
with
15 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,6 +45,7 @@ def __init__(self): | |
self.path = tempfile.mkdtemp() | ||
commands = [ | ||
['init'], | ||
['branch', '-m', 'main'], | ||
['config', 'user.email', '[email protected]'], | ||
['config', 'user.name', 'testrepo'], | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters