From d9cbac72db955ced6b801658cfb13fb0dd83b56b Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Thu, 2 Sep 2021 12:09:42 -0700 Subject: [PATCH] fetch all branches on internal installer old-commit-hash: 145fd88debceea1b16a30ef0f234ab84f4157ad5 --- selfdrive/ui/installer/installer.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/selfdrive/ui/installer/installer.cc b/selfdrive/ui/installer/installer.cc index 91b0677dce..13375d224f 100644 --- a/selfdrive/ui/installer/installer.cc +++ b/selfdrive/ui/installer/installer.cc @@ -195,7 +195,9 @@ void Installer::cloneFinished(int exitCode, QProcess::ExitStatus exitStatus) { param << value; param.close(); } - run("cd " INSTALL_PATH " && git remote set-url origin --push " GIT_SSH_URL); + run("cd " INSTALL_PATH " && " + "git remote set-url origin --push " GIT_SSH_URL " && " + "git config remote.origin.fetch \"+refs/heads/*:refs/remotes/origin/*\""); #endif // write continue.sh