• R/O
  • SSH
  • HTTPS

tortoisesvn: Commit


Commit MetaInfo

Revision28889 (tree)
Zeit2020-05-29 05:38:54
Autorcsware

Log Message

No need to calculate size if we just want to know if there are any entries

Ändern Zusammenfassung

Diff

--- trunk/src/TSVNCache/FolderCrawler.cpp (revision 28888)
+++ trunk/src/TSVNCache/FolderCrawler.cpp (revision 28889)
@@ -1,4 +1,4 @@
1-// TortoiseSVN - a Windows shell extension for easy version control
1+// TortoiseSVN - a Windows shell extension for easy version control
22
33 // External Cache Copyright (C) 2005-2012, 2014-2015 - TortoiseSVN
44
@@ -180,7 +180,7 @@
180180 // Nothing left to do
181181 break;
182182 }
183- if (m_pathsToUpdate.size())
183+ if (!m_pathsToUpdate.empty())
184184 {
185185 {
186186 AutoLocker lock(m_critSec);
@@ -330,7 +330,7 @@
330330 }
331331 }
332332 }
333- if (m_foldersToUpdate.size())
333+ if (!m_foldersToUpdate.empty())
334334 {
335335 {
336336 AutoLocker lock(m_critSec);
Show on old repository browser