git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Dealing with a lot of submodules
@ 2016-06-09 19:06 Stefan Beller
  2016-06-09 19:06 ` [PATCH 1/2] submodule--helper: initial clone learns retry logic Stefan Beller
  2016-06-09 19:06 ` [PATCH 2/2] submodule update: continue when a clone fails Stefan Beller
  0 siblings, 2 replies; 8+ messages in thread
From: Stefan Beller @ 2016-06-09 19:06 UTC (permalink / raw)
  To: gitster; +Cc: git, Jens.Lehmann, Stefan Beller

We have a test repo with about 500 submodules, and I noticed some problems
when cloning this repo.  This is a series that helps dealing with that repo
in two ways:

* When having 500 submodules, you have to perform 500 clones. This makes an
  ephemeral error 500 times more likely. To cope with such errors, just try
  again after all other clones have finished.

* If a recursive clone fails for another reason (in our case a missing
  .gitmodules file), we want to keep going to finish the clone, instead of
  failing.
  
Thanks,
Stefan

Stefan Beller (2):
  submodule--helper: initial clone learns retry logic
  submodule update: continue when a clone fails

 builtin/submodule--helper.c | 44 ++++++++++++++++++++++++++++++++++++--------
 git-submodule.sh            |  2 +-
 2 files changed, 37 insertions(+), 9 deletions(-)

-- 
2.9.0.rc2.368.gdadd65c

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

end of thread, other threads:[~2016-06-09 23:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-09 19:06 [PATCH 0/2] Dealing with a lot of submodules Stefan Beller
2016-06-09 19:06 ` [PATCH 1/2] submodule--helper: initial clone learns retry logic Stefan Beller
2016-06-09 19:19   ` Junio C Hamano
2016-06-09 19:47     ` Stefan Beller
2016-06-09 19:59       ` Junio C Hamano
2016-06-09 20:40         ` Junio C Hamano
2016-06-09 23:38           ` Stefan Beller
2016-06-09 19:06 ` [PATCH 2/2] submodule update: continue when a clone fails Stefan Beller

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