Re: [WIP/PATCH 2/9] Teach reset the --[no-]recurse-submodules option
- From
Jens Lehmann <jens.lehmann@web.de>
- Date
- Feb 7, 2014, 21:09 UTC
- Message-ID
- <52F54B6C.7040906@web.de>
- In-Reply-To
- <xmqqd2j3ddlw.fsf@gitster.dls.corp.google.com>
Am 03.02.2014 23:40, schrieb Junio C Hamano:
Show 10 quoted lines
> Jens Lehmann <Jens.Lehmann@web.de> writes: > >> This new option will allow the user to not only reset the work tree of >> the superproject but to also update the work tree of all initialized >> submodules (so they match the SHA-1 recorded in the superproject) when >> used together with --hard or --merge. But this commit only adds the > > I agree that --soft and --mixed should not do anything. I am not > sure why --keep should not do anything to submodule working trees > when asked to recurse, though.
Correct, I missed that option. I think it should update submodules too.