Re: .git/info/refs
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Jan 24, 2007, 09:28 UTC
- Message-ID
- <ep78r0$h2u$1@sea.gmane.org>
- In-Reply-To
- <45B70D06.3050506@zytor.com>
H. Peter Anvin wrote:
Show 5 quoted lines
> Would it be an incompatible change to add the commit date (and perhaps > the author date) to .git/info/refs? I believe that would make it > possible to dramatically (orders of magnitude) speed up the generation > of the gitweb index page, which is easily the most expensive gitweb page > to generate.
With new gitweb and new git it is not that expensive. It is now one call to git-for-each-ref per repository.
Besides, we can't rely that .git/info/refs is up to date, or even exists. It is for dumb protocols, not for gitweb.
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git