\r
CString cleanCommandLine(sCommandLine);\r
\r
- if (CreateProcess(NULL, const_cast<TCHAR*>((LPCTSTR)cleanCommandLine), NULL, NULL, FALSE, 0, 0, sOrigCWD, &startup, &process)==0)\r
+ if (CreateProcess(NULL, const_cast<TCHAR*>((LPCTSTR)cleanCommandLine), NULL, NULL, FALSE, 0, 0, g_Git.m_CurrentDir, &startup, &process)==0)\r
{\r
if(idErrMessageFormat != 0)\r
{\r
// The one and only CTortoiseProcApp object\r
CTortoiseProcApp theApp;\r
HWND hWndExplorer;\r
-CString sOrigCWD;\r
\r
BOOL CTortoiseProcApp::CheckMsysGitDir()\r
{\r
TCHAR * originalCurrentDirectory = new TCHAR[len];\r
if (GetCurrentDirectory(len, originalCurrentDirectory))\r
{\r
- sOrigCWD = originalCurrentDirectory;\r
- sOrigCWD = CPathUtils::GetLongPathname(sOrigCWD);\r
+ //sOrigCWD = originalCurrentDirectory;\r
+ //sOrigCWD = CPathUtils::GetLongPathname(sOrigCWD);\r
}\r
delete [] originalCurrentDirectory;\r
}\r