UINT CProgressDlg::ProgressThread() { m_GitCmdList.push_back(m_GitCmd); CString *pfilename; if(m_LogFile.IsEmpty()) pfilename=NULL; else pfilename=&m_LogFile; m_GitStatus = RunCmdList(this,m_GitCmdList,m_bShowCommand,pfilename,&m_bAbort,&this->m_Databuf);; return 0; }
UINT CProgressDlg::ProgressThread() { if (!m_GitCmd.IsEmpty()) m_GitCmdList.push_back(m_GitCmd); CString *pfilename; if(m_LogFile.IsEmpty()) pfilename = nullptr; else pfilename=&m_LogFile; m_startTick = GetTickCount64(); m_GitStatus = RunCmdList(this, m_GitCmdList, m_GitDirList, m_bShowCommand, pfilename, &m_bAbort, &this->m_Databuf, m_Git); return 0; }