git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problem with --shallow-submodules option
@ 2016-06-20 13:06 Istvan Zakar
  2016-06-20 17:45 ` Stefan Beller
  2016-06-22 15:31 ` Fredrik Gustafsson
  0 siblings, 2 replies; 8+ messages in thread
From: Istvan Zakar @ 2016-06-20 13:06 UTC (permalink / raw)
  To: git

Hello,

I'm working on a relatively big project with many submodules. During 
cloning for testing I tried to decrease the amount of data need to be 
fetched from the server by using --shallow-submodules option in the clone 
command. It seems to check out the tip of the remote repo, and if it's not 
the commit registered in the superproject the submodule update fails 
(obviously). Can I somehow tell to fetch that exact commit I need for my 
superproject?

Thanks,
   Istvan


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

end of thread, other threads:[~2016-06-30 21:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-20 13:06 Problem with --shallow-submodules option Istvan Zakar
2016-06-20 17:45 ` Stefan Beller
2016-06-21  6:32   ` Istvan Zakar
2016-06-21 20:35     ` Stefan Beller
2016-06-22 15:31 ` Fredrik Gustafsson
2016-06-30 13:27   ` Istvan Zakar
2016-06-30 20:57     ` Stefan Beller
2016-06-30 21:04       ` Istvan Zakar

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