Re: git submodule when submodule is not a clone of a repository
- From
- Lars Hjemli <hjemli@gmail.com>
- Date
- Jan 18, 2008, 17:46 UTC
- Message-ID
- <8c5c35580801180946q3ba824e2s4c32ac504166c684@mail.gmail.com>
- In-Reply-To
- <loom.20080118T171433-93@post.gmane.org>
On Jan 18, 2008 6:25 PM, Sergio Callegari <sergio.callegari@gmail.com> 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