forked from importers/git-importer
Avoid guessing in switch
This commit is contained in:
parent
0414b33206
commit
574bc9aa10
@ -90,7 +90,7 @@ class Git:
|
||||
else:
|
||||
ref = f"refs/heads/{branch}"
|
||||
if (self.path / ".git" / ref).exists():
|
||||
self.git_run(["switch", "-q", branch])
|
||||
self.git_run(["switch", "--no-guess", "-q", branch])
|
||||
return new_branch
|
||||
|
||||
def commit(
|
||||
|
Loading…
Reference in New Issue
Block a user