From: Jakub Narebski Date: Tue, 19 Sep 2006 12:31:49 +0000 (+0200) Subject: gitweb: Always use git-peek-remote in git_get_references X-Git-Tag: v1.4.3-rc1~73 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/9704d75ddc3e38f4945e23f5afffb849fb51b09f?ds=sidebyside;hp=9704d75ddc3e38f4945e23f5afffb849fb51b09f 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 Signed-off-by: Junio C Hamano ---