[Tickets #10286] Re: Speed up browsing folders with a lot of files
bugs at horde.org
bugs at horde.org
Thu Aug 4 12:15:40 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/10286
------------------------------------------------------------------------------
Ticket | 10286
Updated By | vilius at lnk.lt
Summary | Speed up browsing folders with a lot of files
Queue | Chora
Version | Git master
Type | Enhancement
State | Rejected
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
vilius at lnk.lt (2011-08-04 12:15) wrote:
OK, I finally got some time to inspect the issue. Seems like
queryLastLog() in Git driver is very expensive. And it is performed on
every file in a directory.
As far as I know currently git doesn't support retrieving last log
entries for all folder files. git ls-tree is very similar, but it
doesn't include last commit author and date. However these limitations
can be avoided by using something like:
for a in $(ls); do git log --pretty=format:"%h%x09%an%x09%ad%x09$a" -1
-- "$a"; done
More information about the bugs
mailing list