gitweb: Always use git-peek-remote in git_get_references
commit9704d75ddc3e38f4945e23f5afffb849fb51b09f
authorJakub Narebski <jnareb@gmail.com>
Tue, 19 Sep 2006 12:31:49 +0000 (19 14:31 +0200)
committerJunio C Hamano <junkio@cox.net>
Wed, 20 Sep 2006 17:24:44 +0000 (20 10:24 -0700)
treeb644b566563113eb3040b722dceeaa59cd77fd91
parentd04d3d424b913332f5c400162f0d87faac1ad3ea
gitweb: Always use git-peek-remote in git_get_references

Instead of trying to read info/refs file, which might not be present
(we did fallback to git-ls-remote), always use git-peek-remote in
git_get_references.

It is preparation for git_get_refs_info to also return references
info.  We should not use info/refs for git_get_refs_info as the
repository is not served for http-fetch clients.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl