git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: しらいしななこ <nanako3@bluebottle.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org, Oliver Kullmann <O.Kullmann@swansea.ac.uk>
Subject: Re: how to use two bare repositories?
Date: Sat, 12 Apr 2008 09:42:05 +0900	[thread overview]
Message-ID: <200804120042.m3C0gmWR004445@mi0.bluebottle.com> (raw)
In-Reply-To: <7vabk0nd6x.fsf@gitster.siamese.dyndns.org>

Junio C Hamano <gitster@pobox.com> 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

  parent reply	other threads:[~2008-04-12  0:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-11 23:44 how to use two bare repositories? Oliver Kullmann
2008-04-12  0:12 ` Junio C Hamano
2008-04-12  0:42 ` しらいしななこ [this message]
2008-04-12  0:55   ` Junio C Hamano
  -- strict thread matches above, loose matches on Subject: below --
2008-04-11 22:22 Oliver Kullmann
2008-04-11 23:17 ` Junio C Hamano
2008-04-11 23:19 ` Jean-Luc Herren
2008-04-11 23:23 ` Oliver Kullmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200804120042.m3C0gmWR004445@mi0.bluebottle.com \
    --to=nanako3@bluebottle.com \
    --cc=O.Kullmann@swansea.ac.uk \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).