Re: git submodules and commit
- From
Ping Yin <pkufranky@gmail.com>
- Date
- Jul 18, 2008, 16:11 UTC
- Message-ID
- <46dff0320807180911h63999019q5dd56e9341d0fbb6@mail.gmail.com>
- In-Reply-To
- <32541b130807160843k25f1d7d3u8bfecd6c1c6eab91@mail.gmail.com>
On Wed, Jul 16, 2008 at 11:43 PM, Avery Pennarun <apenwarr@gmail.com> wrote:
> On 7/16/08, Nigel Magnay <nigel.magnay@gmail.com> wrote:
Show 9 quoted lines
> If you want to work with me on my new submodule workflow (and I'd > certainly appreciate it!) then I'd suggest one or more of the > following starting points: > > - Take the recursive push, pull, and update operations described > above, make them general (ie. not referring to my submodules by name > :)), and add them as commands in the real git-submodule script. The > trickiest part here will be figuring out which remote branch to > push/pull.
See http://article.gmane.org/gmane.comp.version-control.git/69834 ([PATCH] Added recurse command to git submodule) Or search "submodule recursive" in gmane.
The recursive pull,diff,status for submodule is implemented by Imran M Yousuf. And IIRC, with this patch, you can walk through the submodule hierarchy to exectute any command.
-- Ping Yin