Renamed branch to main

pull/909/head
Bartosz Kardas 2022-12-11 23:26:24 +01:00
rodzic 21ad4cac54
commit 52e80769b0
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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`."
)