bool CleanupCommand::Execute()\r
{\r
bool bRet = false;\r
-\r
- if(CMessageBox::Show(NULL,_T("Are you sure clean all unversion files"),_T("TortoiseGit"),MB_YESNO)==IDYES)\r
+ CString temp;\r
+ temp.Format(_T("Are you sure clean all untracked files"));\r
+ if(CMessageBox::Show(NULL,temp,_T("TortoiseGit"),MB_YESNO)==IDYES)\r
{\r
CProgressDlg progress;\r
- progress.m_GitCmd.Format(_T("Git Clean -d -x -f"));\r
+ progress.m_GitCmd.Format(_T("git clean -d -x -f "));\r
if(progress.DoModal()==IDOK)\r
return TRUE;\r
}\r
}\r
CMessageBox::Show(hwndExplorer, strMessage, _T("TortoiseSVN"), MB_OK | (strFailedPaths.IsEmpty()?MB_ICONINFORMATION:MB_ICONERROR));\r
#endif\r
+ CShellUpdater::Instance().Flush();\r
return bRet;\r
}\r