From c28abda1d294dc8874b970ddf9a2c88233de361c Mon Sep 17 00:00:00 2001 From: Comma Device Date: Sat, 16 Oct 2021 13:17:51 -0700 Subject: [PATCH] installer: fetch all for internal installer old-commit-hash: d4b35dc130f51b08c58d8f9779408dc4324cb029 --- selfdrive/ui/installer/installer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/installer/installer.cc b/selfdrive/ui/installer/installer.cc index 85eb9191f8..68f6d10c9c 100644 --- a/selfdrive/ui/installer/installer.cc +++ b/selfdrive/ui/installer/installer.cc @@ -197,7 +197,7 @@ void Installer::cloneFinished(int exitCode, QProcess::ExitStatus exitStatus) { run("cd " INSTALL_PATH " && " "git submodule update --init && " "git remote set-url origin --push " GIT_SSH_URL " && " - "git config remote.origin.fetch \"+refs/heads/*:refs/remotes/origin/*\""); + "git config --replace-all remote.origin.fetch \"+refs/heads/*:refs/remotes/origin/*\""); #endif // write continue.sh