git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Getting submodules to follow symlinks?
@ 2008-12-09 12:55 Jonathan del Strother
  2008-12-09 17:29 ` Edward Z. Yang
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan del Strother @ 2008-12-09 12:55 UTC (permalink / raw)
  To: Git Mailing List

My git repository contains a symlink to another repository.  I'd like
to make that second repository a submodule of the first, in such a way
that when someone else clones the repository, there's no trace of the
original symlink.

Is this possible?
-Jon

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Getting submodules to follow symlinks?
  2008-12-09 12:55 Getting submodules to follow symlinks? Jonathan del Strother
@ 2008-12-09 17:29 ` Edward Z. Yang
  0 siblings, 0 replies; 2+ messages in thread
From: Edward Z. Yang @ 2008-12-09 17:29 UTC (permalink / raw)
  To: git

Jonathan del Strother wrote:
> My git repository contains a symlink to another repository.  I'd like
> to make that second repository a submodule of the first, in such a way
> that when someone else clones the repository, there's no trace of the
> original symlink.

Yeah. If you register the submodule and then commit, the first
repository would contain the submodule information, and anyone who loads
submodules in another clone will not see the symlink.

Cheers,
Edward

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-09 17:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-09 12:55 Getting submodules to follow symlinks? Jonathan del Strother
2008-12-09 17:29 ` Edward Z. Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).