Unverified Commit 5f4b84a7 authored by Jonah Brüchert's avatar Jonah Brüchert
Browse files

Fix checkout command if the default branch is not "master"

parent 0cb2e8b1
......@@ -79,7 +79,6 @@ class MergeRequestCheckout(RepositoryConnection):
print("Aborting")
sys.exit(1)
self._local_repo.refs.master.checkout()
self._local_repo.delete_head(self.__mr.source_branch, "-f")
head = self._local_repo.create_head(self.__mr.source_branch, fetch_info.ref)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment