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

Re: [PATCH 1/2] gitweb: Always use git-peek-remote in git_get_references

From
Andreas Ericsson <ae@op5.se>
Date
Sep 21, 2006, 09:07 UTC
Message-ID
<45125657.4010001@op5.se>
In-Reply-To
<200609202013.38457.jnareb@gmail.com>
Jakub Narebski wrote:
Show 5 quoted lines
> 
> If there were post-commit hook, and it's contents was the default 
> post-update hook, info/refs would be never stale. And we could read
> from into/refs, and fallback to git-peek-remote if it doesn't exist...
> but we don't know if info/refs has current info.

ls -l .git/hooks/post-commit -rw-r----- 1 exon exon 152 Sep 21 10:54 .git/hooks/post-commit

My post-update hook doesn't maintain info/refs for me. I'm sure that if someone set it up to do so they would also set the post-commit hook up to do the same.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Previous: Jakub NarebskiNext: Jakub Narebski
Message 5 of 9 in “Make git_get_refs_list do work of git_get_references”
  1. 0/2 Make git_get_refs_list do work of git_get_referencesJakub Narebski, Sep 19, 2006
  2. 1/2 gitweb: Always use git-peek-remote in git_get_referencesJakub Narebski, Sep 19, 2006
  3. Junio C HamanoSep 20, 2006
  4. Jakub NarebskiSep 20, 2006
  5. Andreas EricssonSep 21, 2006
  6. 2/2 gitweb: Make git_get_refs_list do work of git_get_referencesJakub Narebski, Sep 19, 2006
  7. Junio C HamanoSep 20, 2006
  8. Jakub NarebskiSep 20, 2006
  9. Junio C HamanoSep 20, 2006

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.