From 45c3bb412799a00f6208113e7ff783caca75b559 Mon Sep 17 00:00:00 2001 From: Frank Li Date: Tue, 3 May 2011 17:32:27 +0800 Subject: [PATCH] TGitCache: Reduce Explorer Refresh Signed-off-by: Frank Li --- src/TGitCache/ShellUpdater.cpp | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/TGitCache/ShellUpdater.cpp b/src/TGitCache/ShellUpdater.cpp index c9f0c7274..959d6b051 100644 --- a/src/TGitCache/ShellUpdater.cpp +++ b/src/TGitCache/ShellUpdater.cpp @@ -73,9 +73,16 @@ void CShellUpdater::Initialise() void CShellUpdater::AddPathForUpdate(const CTGitPath& path) { - ATLTRACE(_T("Add Path for Update : %s\n"), path.GetWinPath()); { AutoLocker lock(m_critSec); + for(int i=0;i