Re: AW: PROBLEM: "git pull -v" fails with exit code denoting a submodule syntax error
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 19, 2022, 23:27 UTC
- Message-ID
- <xmqqzgbj2cvi.fsf@gitster.g>
- In-Reply-To
- <AM8P195MB0820F8606B7B7A2B91442C4A80E59@AM8P195MB0820.EURP195.PROD.OUTLOOK.COM>
"Nemmaier, Christoph" <christoph.nemmaier@cpp.canon> writes:
Show 27 quoted lines
>> ... >>> >>>I suspect it is the same issue as the one that triggered >>> >>> >>https://lore.kernel.org/git/f805f2da-a7e1-9fde-cc0a-04a30f79c9af@cs-ware.de/ >>> >>>which came out recently? >> >>If that is the case, perhaps the -v needs to be documented in the online help if/when this condition is fixed. >> > > > Good morning, > > it pretty sure is. The doc goes like: > >> -v >>--verbose >> >> Pass --verbose to git-fetch and git-merge. > > Intentionally or not, git-submodule is not listed. > > Anyway, I think the doc is correct, as git submodule doesn't know > '-v'. So either the internal call should drop '-v', or 'submodule' > should ignore it.
Yes, <f805f2da-a7e1-9fde-cc0a-04a30f79c9af@cs-ware.de> cited above is exactly about doing that.
The resulting 6f65f847 (submodule: accept -v for the update command, 2022-12-10) is about to hit 'next'.