From: しらいしななこ Date: Sat, 12 Apr 2008 00:42:05 GMT Subject: Re: how to use two bare repositories? Message-ID: <200804120042.m3C0gmWR004445@mi0.bluebottle.com> In-Reply-To: <7vabk0nd6x.fsf@gitster.siamese.dyndns.org> Junio C Hamano writes: > 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