Re: how to use two bare repositories?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx> -----

X-Original-To: csoliver@xxxxxxxxxxxxxxxxxx
Delivered-To: csoliver@xxxxxxxxxxxxxxxxxx
Date: Sat, 12 Apr 2008 00:40:38 +0100
From: Oliver Kullmann <O.Kullmann@xxxxxxxxxxxxx>
To: Junio C Hamano <gitster@xxxxxxxxx>
Subject: Re: how to use two bare repositories?
In-Reply-To: <7v7if4ouan.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxx>
User-Agent: Mutt/1.5.9i

On Fri, Apr 11, 2008 at 04:17:52PM -0700, Junio C Hamano wrote:
> Oliver Kullmann <O.Kullmann@xxxxxxxxxxxxx> 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 -----

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux