Re: HTTP trees trailing GIT trees
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- May 25, 2007, 11:15 UTC
- Message-ID
- <f36g7l$2oe$1@sea.gmane.org>
- In-Reply-To
- <Pine.LNX.4.64.0705241456080.4648@racer.site>
Johannes Schindelin wrote:
Show 15 quoted lines
> Hi, > > On Thu, 24 May 2007, Panagiotis Issaris wrote: > >> So, we're asking for /ffmpeg/info/refs, and the server is returning >> c30fa8391812..., but, using GitWeb one can see that c30fa839812... is >> not the last commit, this one is: >> http://git.mplayerhq.hu/?p=ffmpeg;a=commit; >> h=47d7dcb5a7d89f413064e7ef1b54d77e59fb8375 > > So, info/refs is still old. This file should have been updated by > git-update-server-info. I am not sure how this repo is updated, but I > suspect that the wrong hook contains the call to update-server-info, or > that the correct hook is not activated, or it does not have write > permission.
If you push to repository (it is the usual setup for public repositories), it would be enough to simply enable default 'post-update' hook (make it executable).
If you however for example commit to this public repository directly, you would need to put call to git-update-server-info in the 'post-commit' hook.
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git