Re: Question on git fetch to bare repo

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

 



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