From: rsbecker@nexbridge.com Date: Fri, 16 Dec 2022 08:42:19 GMT Subject: RE: PROBLEM: "git pull -v" fails with exit code denoting a submodule syntax error Message-ID: <000b01d9112a$541c4de0$fc54e9a0$@nexbridge.com> In-Reply-To: On December 16, 2022 3:28 AM, Nemmaier, Christoph wrote: >I expected "git pull -v" to simply work and exit correctly without telling me the >syntax of "git submodule". > >What happened instead? (Actual behavior) > >This: >> From gitlab.ops.oce.net:nemmaiec/cpposa >> = [up to date] develop/1.0 -> origin/develop/1.0 >> Already up to date. >> usage: git submodule [--quiet] [--cached] >> or: git submodule [--quiet] add [-b ] [-f|--force] [--name ] [-- >reference ] [--] [] >> or: git submodule [--quiet] status [--cached] [--recursive] [--] [...] >> or: git submodule [--quiet] init [--] [...] >> or: git submodule [--quiet] deinit [-f|--force] (--all| [--] ...) >> or: git submodule [--quiet] update [--init [--filter=]] [--remote] [- >N|--no-fetch] [-f|--force] [--checkout|--merge|--rebase] [--[no-]recommend- >shallow] [--reference ] [--recursive] [--[no-]single-branch] [--] >[...] >> or: git submodule [--quiet] set-branch (--default|--branch ) [--] > >> or: git submodule [--quiet] set-url [--] >> or: git submodule [--quiet] summary [--cached|--files] [--summary-limit ] >[commit] [--] [...] >> or: git submodule [--quiet] foreach [--recursive] >> or: git submodule [--quiet] sync [--recursive] [--] [...] >> or: git submodule [--quiet] absorbgitdirs [--] [...] > >What's different between what you expected and what actually happened? > >The text I quoted above, and an exit with error code. > >Anything else you want to add: > >The '-v' parameter is used by TortoiseGit and GitExtensions, which now both croak >on pulling. Hi Christoph, I have gone back to git 2.36.0 and cannot find support for the -v submodule command parameter. At what version did this last work for you? Do you have a git alias in effect that might be adding -v? --Randall