{"thread":{"id":"57069","subject":"[RFE] git submodule foreach where initialized","startedAt":"2021-12-11T18:32:20Z","lastAt":"2021-12-11T18:32:20Z","messageCount":1,"participants":["rsbecker@nexbridge.com"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"443892","messageId":"024501d7eebd$6cc88830$46599890$@nexbridge.com","threadId":"57069","inReplyTo":null,"subject":"[RFE] git submodule foreach where initialized","fromName":"","fromEmail":"rsbecker@nexbridge.com","sentAt":"2021-12-11T18:32:11Z","receivedAt":"2021-12-11T18:32:20Z","isPatch":false,"sender":{"key":"randall.becker@nexbridge.ca","avatar":"https://avatars.githubusercontent.com/u/28956764?v=4"},"body":"Hi All,\n\nI have hit an edge condition that I think may need a command option. When\ncloning, we sometimes ignore a specific submodule (because we don't need it\non the platform we are building in this case).\n\nThe git submodule foreach command reports an error: fatal: No url found for\nsubmodule path 'sub1' in .gitmodules\n\nIn our situation, this can be bypassed because we don't care about sub1. My\nthought is that some option like --init-only or --ignore-uninit might be\nuseful to bypass this condition and allow the foreach to run on all valid\nsubmodules. Does that make sense?\n\nRegards,\nRandall\n\n\n\n"}]}