OSDN Git Service

Add rename delete revert repostatus command
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / TortoiseProc.cpp
index b242118..0b8a831 100644 (file)
@@ -381,6 +381,9 @@ BOOL CTortoiseProcApp::InitInstance()
                                        break;\r
                }\r
 \r
+               if(g_Git.m_CurrentDir)\r
+                       SetCurrentDirectory(g_Git.m_CurrentDir);\r
+\r
                cmd->SetParser(parser);\r
                cmd->SetPaths(pathList, cmdLinePath);\r
 \r