From 52e80769b0cfb7887613c7248dc729e4515a78d8 Mon Sep 17 00:00:00 2001 From: Bartosz Kardas Date: Sun, 11 Dec 2022 23:26:24 +0100 Subject: [PATCH] Renamed branch to main --- repo2docker/contentproviders/git.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/repo2docker/contentproviders/git.py b/repo2docker/contentproviders/git.py index f35e9a88..1427bd09 100644 --- a/repo2docker/contentproviders/git.py +++ b/repo2docker/contentproviders/git.py @@ -45,10 +45,10 @@ class Git(ContentProvider): self.log.error( f"Failed to check out ref {ref}", extra=dict(phase=R2dState.FAILED) ) - if ref == "master": + if ref == "main": msg = ( - "Failed to check out the 'master' branch. " - "Maybe the default branch is not named 'master' " + "Failed to check out the 'main' branch. " + "Maybe the default branch is not named 'main' " "for this repository.\n\nTry not explicitly " "specifying `--ref`." )