summaryrefslogtreecommitdiff
path: root/t/t6003-rev-list-topo-order.sh
diff options
context:
space:
mode:
authorLibravatar Jakub Narebski <jnareb@gmail.com>2006-11-25 11:32:08 +0100
committerLibravatar Junio C Hamano <junkio@cox.net>2006-11-25 13:54:32 -0800
commit28b9d9f7c67cfd199c4bc9e1ac5197cb17349b15 (patch)
tree5093a64f11eec789441d924f0b55991829365fe0 /t/t6003-rev-list-topo-order.sh
parentgitweb: Do not use esc_html in esc_path (diff)
downloadtgif-28b9d9f7c67cfd199c4bc9e1ac5197cb17349b15.tar.xz
gitweb: Use git-show-ref instead of git-peek-remote
Use "git show-ref --dereference" instead of "git peek-remote $projectroot/project" in git_get_references. git-show-ref is faster than git-peek-remote (40ms vs 56ms user+sys for git.git repository); even faster is reading info/refs file (if it exists), but the information in info/refs can be stale; that and the fact that info/refs is meant for dumb protocol transports, not for gitweb. git-show-ref is available since v1.4.4; the output format is slightly different than git-peek-remote output format, but we accept both. Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/t6003-rev-list-topo-order.sh')
0 files changed, 0 insertions, 0 deletions