subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1583644 - /subversion/trunk/subversion/libsvn_wc/status.c
Date Tue, 01 Apr 2014 12:02:19 GMT
Author: rhuijben
Date: Tue Apr  1 12:02:19 2014
New Revision: 1583644

URL: http://svn.apache.org/r1583644
Log:
* subversion/libsvn_wc/status.c
  (get_dir_status): Don't obtain timestamp and size for directory entries when
    we don't need them for comparison. This should avoid an expensive lookup
    on platforms where readdir() doesn't just return these values.

Modified:
    subversion/trunk/subversion/libsvn_wc/status.c

Modified: subversion/trunk/subversion/libsvn_wc/status.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/status.c?rev=1583644&r1=1583643&r2=1583644&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/status.c (original)
+++ subversion/trunk/subversion/libsvn_wc/status.c Tue Apr  1 12:02:19 2014
@@ -1233,8 +1233,9 @@ get_dir_status(const struct walk_status_
 
   iterpool = svn_pool_create(scratch_pool);
 
-  err = svn_io_get_dirents3(&dirents, local_abspath, FALSE, scratch_pool,
-                            iterpool);
+  err = svn_io_get_dirents3(&dirents, local_abspath,
+                            wb->ignore_text_mods /* only_check_type*/,
+                            scratch_pool, iterpool);
   if (err
       && (APR_STATUS_IS_ENOENT(err->apr_err)
          || SVN__APR_STATUS_IS_ENOTDIR(err->apr_err)))



Mime
View raw message