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

Re: how to use two bare repositories?

From
OKOliver 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 -----
Next: Junio C Hamano
Message 1 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.