[BUG] Adding a submodule containing submodules in a branch and checkout --recurse-submodules

2019-09-23 Thread Philippe Blain
: * brooklyn-ui 503d74e...000: To get back to the state I was on branch add-sub before checking out master, I need to do "git submodule update --recursive --force". I don’t think this is expected behaviour, it is rather confusing. Cheers, Philippe Blain.

[PATCH] doc: mention that 'git submodule update' fetches missing commits

2019-06-19 Thread Philippe Blain
'git submodule update' will fetch new commits from the submodule remote if the SHA-1 recorded in the superproject is not found. This was not mentioned in the documentation. Signed-off-by: Philippe Blain --- Documentation/git-submodule.txt | 3 ++- 1 file changed, 2 insertions(+),

[PATCH] git-submodule.txt: mention that 'git submodule update' fetches missing commits

2019-04-15 Thread Philippe Blain
'git submodule update' will fetch new commits from the submodule remote if the SHA-1 recorded in the superproject is not found. This was not mentioned in the documentation. --- Documentation/git-submodule.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/git-s