Re: [PATCH] Add git-submodule command
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- May 25, 2007, 14:47 UTC
- Message-ID
- <Pine.LNX.4.64.0705251539260.4648@racer.site>
- In-Reply-To
- <8c5c35580705250716j27695a01kd1db222be6c7eac7@mail.gmail.com>
Hi,
On Fri, 25 May 2007, Lars Hjemli wrote:
Show 15 quoted lines
> On 5/25/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote: > > On Fri, 25 May 2007, Lars Hjemli wrote: > > > On 5/25/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote: > > > > > > > All in all, I like it: it is short, to the point, and it should do > > > > the job (maybe with a few enhancements like "--update" without > > > > arguments means _all_ submodules). > > > > > > Well, it does (or should) update all initialized submodules, but > > > maybe that's not what you meant? > > > > Oops. I meant "init". > > Hmm, it does (or should) clone all submodules if you run 'git submodule > --init' (no paths specified). Did it fail for you?
I don't have any superproject to try with ;-)
Actually, I missed the "$@" in modules_init. You might want to change the documentation, though, since it suggests (at least to yours truly) that you _need_ to pass a path with "--init".
Even happier, Dscho