Re: git-status for submodules
- From
- Chris Frey <cdfrey@foursquare.net>
- Date
- Nov 21, 2008, 21:56 UTC
- Message-ID
- <20081121215608.GA27049@foursquare.net>
- In-Reply-To
- <200811211627.10637.johan@herland.net>
On Fri, Nov 21, 2008 at 04:27:10PM +0100, Johan Herland wrote:
Show 10 quoted lines
> Chris' workflow is farily easily supported by running git-status within > each submodule, like this: > > git submodule foreach "git status; true" > > If the above is too cumbersome to type, one can easily wrap an alias > around it: > > git config alias.substatus 'submodule foreach "git status; true"' > git substatus
Fascinating. :-) This is not yet released, I see, but thanks very much.
Looking at the git sources, submodule foreach doesn't seem to recurse, for the nested submodule case Junio mentioned. It's still a good start.
- Chris