Re: [PATCH (take 2)] gitweb: Do not parse refs by hand, use git-peek-remote instead
- From
Junio C Hamano <junkio@cox.net>
- Date
- Sep 15, 2006, 07:48 UTC
- Message-ID
- <7vvenpzi1h.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <eedjrj$tja$1@sea.gmane.org>
Jakub Narebski <jnareb@gmail.com> writes:
> But, if we change git_get_refs_list to do also work of git_get_references, > we should also change git_get_references to not use info/refs file at all > (it can, and usually for unknown reasons is stale) but always use > git-peek-remote, for consistency.
Yes that would make sense. A repository served by gitweb does not necessarily has to serve objects over http transport, so it is nicer not to require info/refs to even exist or up to date.