Re: Question on git fetch to bare repo

From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Date: 2007-02-09 11:22:45
Hi,

[Jakub, you broke the thread. I Cc' Bill, but I cannot join the thread]

On Thu, 8 Feb 2007, Jakub Narebski wrote:

> Bill Lear wrote:
> 
> > I have a public bare repo I created yesterday:
> > 
> > % mkdir project && cd project
> > % git --bare init-db --shared
> > % git --bare fetch git://source/project
> > [All seems well]
> 
> _Seems_ well
> 
>   % git clone --bare --shared git://source/project project
> 
> is a proper invocation.

No.

init --shared means that the repository is set up such that different 
users can update branches.

clone --shared means that if the original repository is on the local 
machine (which it is not in your example), then that is used as an 
alternate, i.e. the objects are not copied at all, but reused from the 
other location.

I complained about that ambiguity, but I am probably the guilty person: 
AFAIR it was me who introduced "init --shared".

Ciao,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Feb 09 12:12:50 2007

This archive was generated by hypermail 2.1.8 : 2007-02-09 12:14:42 EST