- if (!svn.Add(CTSVNPathList(fullDropPath), &props, svn_depth_infinity, true, false, true))\r
- {\r
- TRACE(_T("%s\n"), (LPCTSTR)svn.GetLastErrorMessage());\r
- CMessageBox::Show(hwndExplorer, svn.GetLastErrorMessage(), _T("TortoiseSVN"), MB_ICONERROR);\r
- return FALSE; //get out of here\r
- }\r
- else\r
- CShellUpdater::Instance().AddPathForUpdate(fullDropPath);\r
- }\r
- else\r
- {\r
- if (!svn.Copy(CTSVNPathList(sourcePath), fullDropPath, SVNRev::REV_WC, SVNRev()))\r
+ CString cmd,output;\r
+ cmd.Format(_T("git.exe add \"%s\""),fullDropPath.GetWinPath());\r
+ if( g_Git.Run(cmd,&output,CP_ACP))\r