From 9bcfdf341640caf829ea4bc8acaf1c2fed3dc9ad Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Wed, 24 Aug 2011 09:59:37 +0200 Subject: [PATCH] Fixed issue #386: Commit dialog does not preserve selection when toggling "Whole project" Signed-off-by: Sven Strickroth --- src/Changelog.txt | 1 + src/TortoiseProc/CommitDlg.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Changelog.txt b/src/Changelog.txt index dc7ba0b32..8687085b1 100644 --- a/src/Changelog.txt +++ b/src/Changelog.txt @@ -13,6 +13,7 @@ * Fixed issue #793: Context menu for files does not contain "Add to ignore list" * Fixed issue #860: Commit file moves does not properly remove the source file * Fixed issue #863: Commit and revert gets stuck on repositories with mixed line-endings + * Fixed issue #386: Commit dialog does not preserve selection when toggling "Whole project" = Release 1.7.2.0 = == Features == diff --git a/src/TortoiseProc/CommitDlg.cpp b/src/TortoiseProc/CommitDlg.cpp index 7be9b5221..1bfe5fd2a 100644 --- a/src/TortoiseProc/CommitDlg.cpp +++ b/src/TortoiseProc/CommitDlg.cpp @@ -1925,7 +1925,8 @@ void CCommitDlg::OnBnClickedWholeProject() else m_ListCtrl.GetStatus(&this->m_pathList,true,false,true); - m_ListCtrl.Show(m_ListCtrl.GetShowFlags()); + DWORD dwShow = (DWORD)(SVNSLC_SHOWVERSIONEDBUTNORMALANDEXTERNALSFROMDIFFERENTREPOS | SVNSLC_SHOWUNVERSIONED | SVNSLC_SHOWLOCKS); + m_ListCtrl.Show(m_ListCtrl.GetShowFlags(), dwShow & (~CTGitPath::LOGACTIONS_UNVER)); } CTGitPath commonDir = m_ListCtrl.GetCommonDirectory(false); -- 2.11.4.GIT