From: Michel Jouvin <jouvin@lal.in2p3.fr>
To: git@vger.kernel.org
Subject: Re: svn:externals using git submodules
Date: Wed, 20 Jan 2010 13:58:18 +0000 (UTC) [thread overview]
Message-ID: <loom.20100120T145348-193@post.gmane.org> (raw)
In-Reply-To: 200705011121.17172.andyparkins@gmail.com
Andy Parkins <andyparkins <at> gmail.com> writes:
>
> Hello,
>
> I've done this by hand as a proof of concept I suspect it would need loads of
> work in git-svn to do it properly. However, I thought I'd mention as part of
> my "success with submodules" reports.
>
> ...
> Now we want that clone to be even more strongly linked to the parent - to the
> extent that they share the same refs, etc:
>
> $ cd libswscale
> $ rm -rf .git/refs .git/logs .git/info description config
> $ ln -s ../../.git/refs .git/refs
> $ ln -s ../../.git/logs .git/logs
> $ ln -s ../../.git/info .git/info
> $ ln -s ../../.git/config .git/config
> $ ln -s ../../.git/description .git/description
>
> ...
> Andy
I don't know if it's a good idea to follow-up on such an old entry... but I
used your trick, Andy, and it works pretty well. With one exception: I am using
Git on Windows and there is no symlinks on this OS. That means that you need to
basically "recreate" the symlinks everytime you want to update the submodules.
Not very handy but acceptable as they are not updated very often.
I have to check the list if there has been some new ways to achieve this. But
I'm clearly in the case of svn:externals not tighten to a particular revision,
which seems the difficult case for Git.
Cheers,
Michel
prev parent reply other threads:[~2010-01-20 13:58 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-01 10:21 svn:externals using git submodules Andy Parkins
2007-05-01 15:07 ` Chris Shoemaker
2007-05-01 15:22 ` Shawn O. Pearce
2007-05-01 15:36 ` Chris Shoemaker
2007-05-01 15:40 ` Shawn O. Pearce
2007-05-01 18:36 ` Andy Parkins
2007-05-01 18:39 ` Andy Parkins
2007-05-01 19:17 ` Chris Shoemaker
2007-05-01 19:48 ` Andy Parkins
2007-05-01 20:23 ` Chris Shoemaker
2007-05-01 22:19 ` Linus Torvalds
2007-05-01 22:37 ` Junio C Hamano
2007-05-01 23:16 ` Shawn O. Pearce
2010-01-20 13:58 ` Michel Jouvin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20100120T145348-193@post.gmane.org \
--to=jouvin@lal.in2p3.fr \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.