From 2898e8e69aad6671e35597f367fcc348a59fe61d Mon Sep 17 00:00:00 2001 From: "Ryan@SOLARIS-DAQ" Date: Wed, 29 Mar 2023 11:26:32 -0400 Subject: [PATCH] add git fetch --- mainwindow.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index d2faca3..9b996cd 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1098,7 +1098,10 @@ void MainWindow::ProgramSettingsPanel(){ the folder of the analysis code. e.g. /home//analysis/"); helpInfo->appendHtml(" Data Path is the path of the \ parents folder of Raw data will store. e.g. /mnt/data0/, \ - experiment data will be saved under this folder. e.g. /mnt/data1/exp1"); + experiment data will be saved under this folder. e.g. /mnt/data0/exp1"); + helpInfo->appendHtml(" Root Data Path is the path of the \ + parents folder of Root data will store. e.g. /mnt/data1/, \ + root data will be saved under this folder. e.g. /mnt/data1/exp1"); helpInfo->appendHtml("

"); helpInfo->appendHtml("These 2 paths will be used when New/Change/Reload Exp "); helpInfo->appendHtml("

"); @@ -1496,6 +1499,8 @@ void MainWindow::SetupNewExpPanel(){ QProcess git; git.setWorkingDirectory(analysisPath); //?git.setWorkingDirectory("/home/ryan/digios"); + git.start("git", QStringList() << "fetch"); + git.waitForFinished(); git.start("git", QStringList() << "branch" << "-a"); git.waitForFinished();