]> Lady’s Gitweb - Gitweb/commit
gitweb: Always use git-peek-remote in git_get_references
authorJakub Narebski <redacted>
Tue, 19 Sep 2006 12:31:49 +0000 (14:31 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:10 +0000 (00:07 -0400)
commit34def293ab70a0341c38227c54e04b0844a6c58287bc7b6294e319ea90bdedd2
treeef75c88ea916005f7a6f7a6fb6291ee3bb40928cb151689fc0d006a0b9ff1771
parentf0ac50f5408d859aef3ac848c552a8e920f9bf5714068c96912b8e0487d87e13
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.201164 seconds and 4 git commands to generate.