https://bugzilla.wikimedia.org/show_bug.cgi?id=51360
--- Comment #1 from Antoine "hashar" Musso <[email protected]> --- The code in Special:Version does look for the HEAD sha1 (which first read .git/HEAD then if it is a ref load .git/refs/origin/master to get the actual sha1). Then we look for the commit date with getHeadCommitDate() which shells out. What could be done is to cache the commit date in memcached with a key like git-sha1-date-<the sha1 there>. That would prevent the shell outs though still requires a bunch of stats() /file reads. The code is also duplicated in getCreditsForExtension() and thus need to be updated there as well. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
