git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Panagiotis IssarisNext: Johannes Schindelin
Message 8 of 9 in “HTTP trees trailing GIT trees”
  1. Panagiotis IssarisMay 23, 2007
  2. Petr BaudisMay 23, 2007
  3. Panagiotis IssarisMay 23, 2007
  4. Panagiotis IssarisMay 23, 2007
  5. Panagiotis IssarisMay 24, 2007
  6. Johannes SchindelinMay 24, 2007
  7. Panagiotis IssarisMay 24, 2007
  8. Jakub NarebskiMay 25, 2007
  9. Johannes SchindelinMay 25, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.