Improve performance of tag listing
author Chris Han
()
committer Chris Han
()
commit 8a250b7848bf4074866f418d35127543f43d85fc
tree 6e2c2fd5ad3d9502f21cc12a5303d9a9512b5873
parent 0193f3dc83094171df5786c7d00bb47090824b27
Improve performance of tag listing

This changes the tag / head list functions GetTags and GetHeads to use
for-each-ref to let git do the age sorting internally (which is much
faster) and changes them to build off of the data already loaded by the
main ref list loading function
include/git/Head.class.php
include/git/Project.class.php
include/git/Tag.class.php
comments