Tommaso Cucinotta <[email protected]> writes: | Il 13/03/2012 23:32, Lars Gullik Bjønnes ha scritto: >> On Wed, Mar 14, 2012 at 00:03, Tommaso Cucinotta<[email protected]> wrote: >>> Il 13/03/2012 22:38, Lars Gullik Bjønnes ha scritto: >>> >>> All developers login as the "git" user, then your pub key is used to >>> authenticate you and distinguish you from the other developers. >>> >>> >>> It's "receiving objects", thanks... @ 50 KiB/s, it will take a while. >>> >>> On a related note, if I clone both >>> >>> [email protected]:lyx >>> >>> and >>> >>> [email protected]:developers/tommaso/lyx >> (assuming this was created with "ssh [email protected] fork lyx >> developers/tommaso/lyx") >> >>> on my laptop, will those 2 clones share the same common patches (and save my >>> local disk space) or not ? >> No, but they would if you first cloned "git clone >> [email protected]:developers/tommaso/lyx lyx" >> and then >> >> git clone --reference lyx [email protected]:developers/tommaso/lyx lyx-tommaso >> >> then they would share a lot. However lyx-tommaso would also depend on >> lyx and you >> could never delete that without wrecking lyx-tommaso. > | I just followed the receipt (not for my own repo, but for checking out | the 2.0.x branch in a separate folder -- I prefer keeping it like | this), and I added also "--shared", which I guess is the part that | makes the new repo actually depending on the other repo. The | disk-space saving is not that much, as I hoped: > | 239M lyx | 90M lyx-2.0.x
Remember that since you have used '--shared' your lyx-2.0.x repo is now dependent on the lyx repo. You cannot delete the lyx repo, then you destroy the lyx-2.0.x repo as well. As long as you are aware of that using '--shared' is quite ok. -- Lgb
