From: Frank Li Date: Sat, 15 Aug 2009 05:30:15 +0000 (+0800) Subject: Fixed issue #139: "Format patch" with a range of revisions doesn't export the first... X-Git-Url: http://git.sourceforge.jp/view?p=tortoisegit%2FTortoiseGitJp.git;a=commitdiff_plain;h=c0d70c39ba6321000bf1803a4dab2baf72350ab0;hp=2d99aa9b5946d14c9a7d35e9fe4a34741c66bff6 Fixed issue #139: "Format patch" with a range of revisions doesn't export the first revision in the range Signed-off-by: Frank Li --- diff --git a/src/Resources/TortoiseProcENG.rc b/src/Resources/TortoiseProcENG.rc index 4e86c99..39f3cbd 100644 Binary files a/src/Resources/TortoiseProcENG.rc and b/src/Resources/TortoiseProcENG.rc differ diff --git a/src/TortoiseProc/GitLogListAction.cpp b/src/TortoiseProc/GitLogListAction.cpp index 20596cc..7bf709b 100644 --- a/src/TortoiseProc/GitLogListAction.cpp +++ b/src/TortoiseProc/GitLogListAction.cpp @@ -457,12 +457,12 @@ void CGitLogList::ContextMenuAction(int cmd,int FirstSelect, int LastSelect) r2 = reinterpret_cast(m_arShownList.GetAt(LastSelect)); if( this->m_IsOldFirst ) { - cmd += _T(" /startrev:")+r1->m_CommitHash; + cmd += _T(" /startrev:")+r1->m_CommitHash+_T("~1"); cmd += _T(" /endrev:")+r2->m_CommitHash; }else { - cmd += _T(" /startrev:")+r2->m_CommitHash; + cmd += _T(" /startrev:")+r2->m_CommitHash+_T("~1"); cmd += _T(" /endrev:")+r1->m_CommitHash; }