From: Jens Lehmann <Jens.Lehmann@web.de>
To: Maximilian Held <maximilian.held83@gmail.com>, git@vger.kernel.org
Cc: "Voigt, Heiko" <Heiko.Voigt@mahr.de>,
Fredrik Gustafsson <iveqy@iveqy.com>
Subject: Re: git --recurse-submodule does not recurse to sub-submodules (etc.)
Date: Tue, 20 Jan 2015 22:21:11 +0100 [thread overview]
Message-ID: <54BEC6C7.8070103@web.de> (raw)
In-Reply-To: <CACgLhq_kMv2cj4RHr8Yx5tnYup5enCJVMrZf9Yt9Y5-bkfozLg@mail.gmail.com>
Am 19.01.2015 um 21:19 schrieb Maximilian Held:
> I have a directory with nested submodules, such as:
>
> supermodule/submodule/sub-submodule/sub-sub-submodule
>
> When I cd to supermodule and do:
>
> "git push --recurse-submodule=check" (or on-demand),
>
> git only pushes the submodule, but not the sub-submodule etc.
>
> Maybe this is expected behavior and not a bug, but I thought it was
> pretty unintuitive. I expected that git would push, well, recursively.
I agree this is unexpected and should be fixed. I suspect the fix
would be to teach the push_submodule() function to use the same
flags that were used for the push in the superproject.
next prev parent reply other threads:[~2015-01-20 21:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-19 20:19 git --recurse-submodule does not recurse to sub-submodules (etc.) Maximilian Held
2015-01-20 21:21 ` Jens Lehmann [this message]
2015-01-23 22:02 ` Maximilian Held
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54BEC6C7.8070103@web.de \
--to=jens.lehmann@web.de \
--cc=Heiko.Voigt@mahr.de \
--cc=git@vger.kernel.org \
--cc=iveqy@iveqy.com \
--cc=maximilian.held83@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.