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

Re: how to use two bare repositories?

From
しらいしななこ <nanako3@bluebottle.com>
Date
Apr 12, 2008, 00:42 UTC
Message-ID
<200804120042.m3C0gmWR004445@mi0.bluebottle.com>
In-Reply-To
<7vabk0nd6x.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 8 quoted lines
> Typically, you would update a bare repository used for publishing by
> pushing into it, and trigger update-server-info from the post-update hook.
>
> But it is perfectly fine if you initiate a mirror-fetch from that
> publishing repository (in your case, "B"), and the caller to "git fetch"
> can run update-server-info after fetching.
>
> And no, there is not a "post-fetch" hook, nor is there a need for one.
Can you please explain why?
-- 
Nanako Shiraishi
http://ivory.ap.teacup.com/nanako3/

----------------------------------------------------------------------
Finally - A spam blocker that actually works.
http://www.bluebottle.com/tag/4
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 4 in “Re: how to use two bare repositories?”
  1. Oliver KullmannApr 11, 2008
  2. Junio C HamanoApr 12, 2008
  3. しらいしななこApr 12, 2008
  4. Junio C HamanoApr 12, 2008

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.