On Wed, Apr 29, 2015 at 8:31 AM, Doug Kelly <
doug...@gmail.com> wrote:
> Hey all,
>
> It looks like the submodule subscription feature conflicts with the "git
> submodule -b" option added to Git 1.8.2.1, for running "git submodule update
> --remote"
I agree there is a conflict in the .gitmodules file (both require the
branch field set).
Gerrit additionally needs a "url" field to enable the submodule subscription.
> (basically, the same idea as the subscription, but as a manual
> step.
I think it's a different thing, as the "git submodule update --remote" only
updates the working tree, but doesn't add it to index or even commit it.
The Gerrit submodule subscription however directly makes a commit containing
the changes of the submodule.
> Would it make sense to add an extra option to .gitmodules to inhibit
> submodule subscription in these cases where a user really wants the
> submodule updates to be part of the review process (something of a halfway
> point to issue 1652)?
Personally I would not want to clutter the .gitmodules file any more
than it is now,
but rather add the configuration to gerrit to either make the direct
commit or create
a new change containing the submodule update.
Thanks,
Stefan