git submodule update strange output behavior.
- From
Carlo Wood <carlo@alinoe.com>
- Date
- Jan 9, 2020, 18:20 UTC
- Message-ID
- <20200109192040.46aaa01e@hikaru>
In a project containing submodules, one of the submodules contains a submodule itself, which in turn also contains a submodule.
Overview:
project/foobar [submodule] project/cwm4 [submodule] project/evio [submodule] project/evio/protocol/matrixssl [submodule] project/evio/protocol/matrixssl/cwm4 [submodule]
('protocol' is a normal subdirectory)Running (with or without the --quiet),
$ git submodule --quiet update --init --recursive --remote Fetching submodule protocol/matrixssl Fetching submodule protocol/matrixssl/cwm4 Fetching submodule cwm4
This is odd (a bug imho) because
1) it seems to only print this fetching information for submodules inside submodules, not for the top-level submodules. 2) it even prints this when using --quiet 3) it prints this every time (also when there is nothing more to fetch).
-- Carlo Wood <carlo@alinoe.com>