Re: how to use two bare repositories?
- From
- Oliver Kullmann <o.kullmann@swansea.ac.uk>
- Date
- Apr 11, 2008, 23:44 UTC
- Message-ID
- <20080411234430.GQ29940@cs-wsok.swansea.ac.uk>
Sorry, by error I didn't post this message to the list, but it might be interesting for somebody, so here the copy.
----- Forwarded message from Oliver Kullmann <O.Kullmann@swansea.ac.uk> -----
X-Original-To: csoliver@cs-svr1.swan.ac.uk Delivered-To: csoliver@cs-svr1.swan.ac.uk Date: Sat, 12 Apr 2008 00:40:38 +0100 From: Oliver Kullmann <O.Kullmann@swansea.ac.uk> To: Junio C Hamano <gitster@pobox.com> Subject: Re: how to use two bare repositories? In-Reply-To: <7v7if4ouan.fsf@gitster.siamese.dyndns.org> User-Agent: Mutt/1.5.9i
On Fri, Apr 11, 2008 at 04:17:52PM -0700, Junio C Hamano wrote:
Show 18 quoted lines
> Oliver Kullmann <O.Kullmann@swansea.ac.uk> writes: > > > Now I want to create another public repository B, > > from which anonymous pull is possible via http. > > So B should be another bare repository. > > > > The problem is now that it seems not to be possible > > to update B: > > > > 1. pulling from A is not possible since B is bare; > > 2. fetching from A seems to work, checking the content of > > B via gitk seems to indicate that B has been updated > > --- however pulling from B doesn't work > > The usual answer when you see a word "http" mentioned is... > > how are you arranging update-server-info to be run whenever B is > updated?
Aha, I see: So first I fetch, and then I run update-server-info. Just tried it out, and it worked. Thanks!
(By the way, since B is updated anyway only by my package-building script, it's no problem to run update-server-info then (by the script).)
----- End forwarded message -----