git --recurse-submodule does not recurse to sub-submodules (etc.)
- From
- Maximilian Held <maximilian.held83@gmail.com>
- Date
- Jan 19, 2015, 20:19 UTC
- Message-ID
- <CACgLhq_kMv2cj4RHr8Yx5tnYup5enCJVMrZf9Yt9Y5-bkfozLg@mail.gmail.com>
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.
Best Max
http://www.maxheld.de