OSDN Git Service

Fixed issue #133: (mv\rename problem) Command fails on folder with leading dash
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / Commands / RenameCommand.cpp
index e39479d..7554b36 100644 (file)
@@ -52,7 +52,7 @@ bool RenameCommand::Execute()
 \r
        CString cmd;\r
        CString output;\r
-       cmd.Format(_T("git.exe mv \"%s\" \"%s\""),\r
+       cmd.Format(_T("git.exe mv -- \"%s\" \"%s\""),\r
                                        cmdLinePath.GetGitPathString(),\r
                                        sNewName);\r
                                                                        \r