From: Lars Hjemli Date: Fri, 18 Jan 2008 17:46:03 GMT Subject: Re: git submodule when submodule is not a clone of a repository Message-ID: <8c5c35580801180946q3ba824e2s4c32ac504166c684@mail.gmail.com> In-Reply-To: On Jan 18, 2008 6:25 PM, Sergio Callegari wrote: > Would it make sense to have a git submodule update not try to fetch if there is > no url defined, but still checkout the right commit for the submodule (rather > than skipping the submodule at all) ? Actually, we could (and probably should) teach git-submodule not to fetch if the requested SHA1 is already available in the submodule, and I guess this would solve the problem quite nicely for your usage. But that will probably not happen before 1.5.4. -- larsh