Re: [PATCH 0/6] Initial subproject support (RFC?)
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Apr 11, 2007, 08:42 UTC
- Message-ID
- <81b0412b0704110142l377231d7j85285a87ef73ce41@mail.gmail.com>
- In-Reply-To
- <20070411083236.GG21701@admingilde.org>
On 4/11/07, Martin Waitz <tali@admingilde.org> wrote:
> > The other thing which will be missed a lot (I miss it that much) > > is a subproject-recursive git-commit and git-status. > > git-status should really point out if a subproject has any changes,
Only if I want it to. HEAD change check (which is cheap enough to be done unconditionally) can be done always.
> But for commit it really does not make any sense. The commit in the > submodule is totally independent to the commit in the supermodule.
Right. Perhaps not a commit in submodule but a recursive check for working directory changes in submodules. So that you can make that you don't make a superproject commit which cannot be resolved to what you had in all the working directories:
git commit -a --check-clean-subprojects