Re: how to use two bare repositories?
From: Oliver Kullmann <hidden>
Date: 2016-06-15 22:44:28
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 [off-list ref] ----- 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 <redacted> To: Junio C Hamano <redacted> Subject: Re: how to use two bare repositories? In-Reply-To: [ref] User-Agent: Mutt/1.5.9i On Fri, Apr 11, 2008 at 04:17:52PM -0700, Junio C Hamano wrote:
Oliver Kullmann [off-list ref] writes:quoted
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 workThe 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 -----