Il 13/03/2012 23:32, Lars Gullik Bjønnes ha scritto:
On Wed, Mar 14, 2012 at 00:03, Tommaso Cucinotta<tomm...@lyx.org> 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
g...@git.lyx.org:lyx
and
g...@git.lyx.org:developers/tommaso/lyx
(assuming this was created with "ssh g...@git.lyx.org 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
g...@git.lyx.org:developers/tommaso/lyx lyx"
and then
git clone --reference lyx g...@git.lyx.org: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
however, still it's better than another 239 MB, and especially the
network-bandwidth as well as the download-time saving was impressive :-)!
I took the freedom to add this receipt to the instructions in
http://wiki.lyx.org/Devel/LyXGit (last item of "Cloning the
Repository"), assuming others might find it useful.
T.