From c1b005927aa4709030f94d5bb606743cc15395b7 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Mon, 27 Dec 2010 16:31:19 +0100 Subject: [PATCH] added some comments --- src/Git/GitStatusListCtrl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Git/GitStatusListCtrl.cpp b/src/Git/GitStatusListCtrl.cpp index 89f1a6d17..d15e53078 100644 --- a/src/Git/GitStatusListCtrl.cpp +++ b/src/Git/GitStatusListCtrl.cpp @@ -3152,6 +3152,7 @@ void CGitStatusListCtrl::OnContextMenuList(CWnd * pWnd, CPoint point) SetRedraw(FALSE); CAppUtils::IgnoreFile(ignorelist,true); + // TODO: add .gitignore to list if it's not already there common=ignorelist.GetCommonRoot().GetGitPathString(); for (int i=0; i< GetItemCount(); ++i) @@ -4061,7 +4062,7 @@ void CGitStatusListCtrl::OnNMDblclk(NMHDR *pNMHDR, LRESULT *pResult) }else { - if( (!m_Rev1.IsEmpty()) || (!m_Rev1.IsEmpty())) + if( (!m_Rev1.IsEmpty()) || (!m_Rev1.IsEmpty())) // m_Rev1 twice??? StartDiffTwo(pNMLV->iItem); else StartDiff(pNMLV->iItem); -- 2.11.4.GIT