git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* dependable submodules
@ 2011-03-20  0:53 Daniel
  2011-03-20  4:27 ` Junio C Hamano
  0 siblings, 1 reply; 11+ messages in thread
From: Daniel @ 2011-03-20  0:53 UTC (permalink / raw)
  To: git

I have a submodule from, example, github. I do not however want to be
reliant years from now, that this remote repository on github is in
existant. Yet, I want to be able to easily do a git pull in the
submodule as long as it's around.

Is there a way to achieve this?

IOW, I may have

    myrepo/somefile.txt
    myrepo/another_project/.git/...
    myrepo/another_project/another_project_file.txt

and I'd like to, when I clone repo, to be able to get all files from
repo independently of the remote repo's existence.

Currently, if I do `git clone --recursive myrepo new_repo` I can get
almost the behavior I want with the exception of the other project
being pulled remotely, which means I would *have* to have a network
connection to do so, but as mentioned, I don't want that dependency.

-d

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

end of thread, other threads:[~2011-03-22 18:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-20  0:53 dependable submodules Daniel
2011-03-20  4:27 ` Junio C Hamano
2011-03-20  4:32   ` Daniel
2011-03-20 12:36     ` Jens Lehmann
2011-03-20 16:06       ` Daniel
2011-03-21 16:18     ` Robert Pollak
2011-03-22  3:56       ` Daniel
2011-03-22  5:13         ` Avery Pennarun
2011-03-22 14:28         ` in-gitvger
2011-03-22 14:55           ` Daniel
2011-03-22 18:56             ` Jens Lehmann

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).