// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\r
//\r
#include "StdAfx.h"\r
-#include "FetchCommand.h"\r
+#include "PullCommand.h"\r
\r
//#include "SVNProgressDlg.h"\r
#include "StringUtils.h"\r
#include "PullFetchDlg.h"\r
#include "ProgressDlg.h"\r
\r
-bool FetchCommand::Execute()\r
+bool PullCommand::Execute()\r
{\r
CPullFetchDlg dlg;\r
+ dlg.m_IsPull=TRUE;\r
if(dlg.DoModal()==IDOK)\r
{\r
CString url;\r
url=dlg.m_RemoteURL;\r
CString cmd;\r
- cmd.Format(_T("git.exe fetch \"%s\""),url);\r
+ cmd.Format(_T("git.exe pull \"%s\""),url);\r
CProgressDlg progress;\r
progress.m_GitCmd=cmd;\r
if(progress.DoModal()==IDOK)\r