Skip to content

Commit 52e8076

Browse files
committed
Renamed branch to main
1 parent 21ad4ca commit 52e8076

File tree

1 file changed

+3
-3
lines changed
  • repo2docker/contentproviders

1 file changed

+3
-3
lines changed

repo2docker/contentproviders/git.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ def fetch(self, spec, output_dir, yield_output=False):
4545
self.log.error(
4646
f"Failed to check out ref {ref}", extra=dict(phase=R2dState.FAILED)
4747
)
48-
if ref == "master":
48+
if ref == "main":
4949
msg = (
50-
"Failed to check out the 'master' branch. "
51-
"Maybe the default branch is not named 'master' "
50+
"Failed to check out the 'main' branch. "
51+
"Maybe the default branch is not named 'main' "
5252
"for this repository.\n\nTry not explicitly "
5353
"specifying `--ref`."
5454
)

0 commit comments

Comments
 (0)