OSDN Git Service

Fixed Issue #138: "Format patch" in "Show log" dialog doesn't work
authorFrank Li <lznuaa@gmail.com>
Fri, 14 Aug 2009 11:47:15 +0000 (19:47 +0800)
committerFrank Li <lznuaa@gmail.com>
Fri, 14 Aug 2009 11:47:15 +0000 (19:47 +0800)
Signed-off-by: Frank Li <lznuaa@gmail.com>
src/TortoiseProc/GitLogListAction.cpp

index dfc3a20..20596cc 100644 (file)
@@ -444,6 +444,8 @@ void CGitLogList::ContextMenuAction(int cmd,int FirstSelect, int LastSelect)
                                cmd = CPathUtils::GetAppDirectory()+_T("TortoiseProc.exe");\r
                                cmd += _T(" /command:formatpatch");\r
 \r
+                               cmd += _T(" /path:")+g_Git.m_CurrentDir+_T(" ");\r
+\r
                                GitRev * r1 = reinterpret_cast<GitRev*>(m_arShownList.GetAt(FirstSelect));\r
                                GitRev * r2 = NULL;\r
                                if(select == 1)\r