Re: .git/info/refs

From: Jakub Narebski <jnareb@gmail.com>
Date: 2007-01-24 20:28:56
H. Peter Anvin wrote:

> 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


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Jan 24 20:29:05 2007

This archive was generated by hypermail 2.1.8 : 2007-01-24 20:30:51 EST