From aa263c506aa4580460d44192a053a6d7d27a306a Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Sun, 15 Jul 2012 23:43:53 +0200 Subject: [PATCH] Fixed unified diff order In sync dialog files might be diffed in wrong order. Signed-off-by: Sven Strickroth --- src/Git/GitStatusListCtrl.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/Git/GitStatusListCtrl.cpp b/src/Git/GitStatusListCtrl.cpp index faed60a9d..090de7075 100644 --- a/src/Git/GitStatusListCtrl.cpp +++ b/src/Git/GitStatusListCtrl.cpp @@ -2314,15 +2314,7 @@ void CGitStatusListCtrl::OnContextMenuList(CWnd * pWnd, CPoint point) break; case IDGITLC_GNUDIFF2: { - // SVNDiff diff(NULL, this->m_hWnd, true); - // - // if (entry->remotestatus <= git_wc_status_normal) - // CAppUtils::StartShowUnifiedDiff(m_hWnd, entry->path, SVNRev::REV_BASE, entry->path, SVNRev::REV_WC); - // else - // CAppUtils::StartShowUnifiedDiff(m_hWnd, entry->path, SVNRev::REV_WC, entry->path, SVNRev::REV_HEAD); - - CAppUtils::StartShowUnifiedDiff(m_hWnd,*filepath,m_Rev1, - *filepath,m_Rev2); + CAppUtils::StartShowUnifiedDiff(m_hWnd, *filepath, m_Rev2, *filepath, m_Rev1); } break; -- 2.11.4.GIT