git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [RFE] git submodule foreach where initialized
@ 2021-12-11 18:32 rsbecker
  0 siblings, 0 replies; only message in thread
From: rsbecker @ 2021-12-11 18:32 UTC (permalink / raw)
  To: git

Hi All,

I have hit an edge condition that I think may need a command option. When
cloning, we sometimes ignore a specific submodule (because we don't need it
on the platform we are building in this case).

The git submodule foreach command reports an error: fatal: No url found for
submodule path 'sub1' in .gitmodules

In our situation, this can be bypassed because we don't care about sub1. My
thought is that some option like --init-only or --ignore-uninit might be
useful to bypass this condition and allow the foreach to run on all valid
submodules. Does that make sense?

Regards,
Randall




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-11 18:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-11 18:32 [RFE] git submodule foreach where initialized rsbecker

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).