Revert "updated: configure branch upstream (#25916)"

This reverts commit 17ed8dd0e9.
This commit is contained in:
Cameron Clough
2022-10-05 19:07:59 -07:00
parent 6a8a38b1a1
commit c9c46c1b36
+1 -2
View File
@@ -327,7 +327,7 @@ class Updater:
self._has_internet = False
setup_git_options(OVERLAY_MERGED)
output = run(["git", "ls-remote", "--heads", "origin"], OVERLAY_MERGED)
output = run(["git", "ls-remote", "--heads"], OVERLAY_MERGED)
self.branches = defaultdict(lambda: None)
for line in output.split('\n'):
@@ -363,7 +363,6 @@ class Updater:
cloudlog.info("git reset in progress")
cmds = [
["git", "checkout", "--force", "--no-recurse-submodules", "-B", branch, "FETCH_HEAD"],
["git", "branch", "--set-upstream-to", f"origin/{branch}"],
["git", "reset", "--hard"],
["git", "clean", "-xdff"],
["git", "submodule", "init"],