This commit is contained in:
Jason Wen
2024-05-31 22:43:11 -04:00
parent ce16dd2a4f
commit b07473b9c9
+1 -1
View File
@@ -59,7 +59,7 @@ int main(int argc, char *argv[]) {
if (!std::system((to_home_dir + " && " + check_remote).c_str())) {
remote_cmd = reset_remote;
}
const std::string cmd = " && " + to_home_dir + " && " + remote_cmd + " && " + fetch_remote + " && " + reset_branch;
const std::string cmd = to_home_dir + " && " + remote_cmd + " && " + fetch_remote + " && " + reset_branch;
QFuture<void> future = QtConcurrent::run([=]() {
std::system(cmd.c_str());