git/list[1] front-page[2] threads[3] people[4] search[5] about
 

PROBLEM: "git pull -v" fails with exit code denoting a submodule syntax error

From
NCNemmaier, Christoph <christoph.nemmaier@cpp.canon>
Date
Dec 16, 2022, 08:27 UTC
Message-ID
<AM8P195MB0820A54FEA04231D440F74D780E69@AM8P195MB0820.EURP195.PROD.OUTLOOK.COM>
--

Thank you for filling out a Git bug report! Please answer the following questions to help us understand your issue.

What did you do before the bug happened? (Steps to reproduce your issue)
I upgraded Git to version 2.38.1.windows.1
What did you expect to happen? (Expected behavior)
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:
Show 15 quoted lines
> 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 <branch>] [-f|--force] [--name <name>] [--reference <repository>] [--] <repository> [<path>]
>    or: git submodule [--quiet] status [--cached] [--recursive] [--] [<path>...]
>    or: git submodule [--quiet] init [--] [<path>...]
>    or: git submodule [--quiet] deinit [-f|--force] (--all| [--] <path>...)
>    or: git submodule [--quiet] update [--init [--filter=<filter-spec>]] [--remote] [-N|--no-fetch] [-f|--force] [--checkout|--merge|--rebase] [--[no-]recommend-shallow] [--reference <repository>] [--recursive] [--[no-]single-branch] [--] [<path>...]
>    or: git submodule [--quiet] set-branch (--default|--branch <branch>) [--] <path>
>    or: git submodule [--quiet] set-url [--] <path> <newurl>
>    or: git submodule [--quiet] summary [--cached|--files] [--summary-limit <n>] [commit] [--] [<path>...]
>    or: git submodule [--quiet] foreach [--recursive] <command>
>    or: git submodule [--quiet] sync [--recursive] [--] [<path>...]
>    or: git submodule [--quiet] absorbgitdirs [--] [<path>...]
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.

Please review the rest of the bug report below. You can delete any lines you don't wish to share.

[System Info] git version: git version 2.38.1.windows.1 cpu: x86_64 built from commit: b85c8f604d375d4d773a36842964e8a7ec056aae sizeof-long: 4 sizeof-size_t: 8 shell-path: /bin/sh feature: fsmonitor--daemon uname: Windows 10.0 19044 compiler info: gnuc: 12.2 libc info: no libc information available $SHELL (typically, interactive shell): <unset>

[Enabled Hooks]

Canon Production Printing Germany GmbH & Co. KG P.O. Box 1260, 85581 Poing Siemensallee 2, 85586 Poing Germany | www.cpp.canon Canon Production Printing Germany GmbH & Co. KG. The company is a limited partnership with its registered office in Poing Trade Register HRA 100955 (Amtsgericht M?nchen) - WEEE-Reg. - No. DE 888 05 443

General Partner: Canon Production Printing Gesch?ftsf?hrungsgesellschaft mbH Registered Office: Poing Trade Register HRB 206480 (Amtsgericht M?nchen) Executive Officer: Johann Meyer ?

This message and attachment(s) are intended solely for use by the addressee and may contain information that is privileged, confidential or otherwise exempt from disclosure under applicable law. If you are not the intended recipient or agent thereof responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone or with a 'reply' message and delete the message and its attachment(s), if any, from your system(s). Thank you for your co-operation. 
Next: rsbecker@nexbridge.com
Message 1 of 10 in “PROBLEM: "git pull -v" fails with exit code denoting a submodule syntax error”
  1. Nemmaier, ChristophDec 16, 2022
  2. rsbecker@nexbridge.comDec 16, 2022
  3. Junio C HamanoDec 16, 2022
  4. AW: PROBLEM: "git pull -v" fails with exit code denoting a submodule syntax errorNemmaier, Christoph, Dec 16, 2022
  5. rsbecker@nexbridge.comDec 17, 2022
  6. AW: PROBLEM: "git pull -v" fails with exit code denoting a submodule syntax errorNemmaier, Christoph, Dec 19, 2022
  7. Junio C HamanoDec 19, 2022
  8. AW: AW: PROBLEM: "git pull -v" fails with exit code denoting a submodule syntax errorNemmaier, Christoph, Dec 20, 2022
  9. AW: PROBLEM: "git pull -v" fails with exit code denoting a submodule syntax errorNemmaier, Christoph, Dec 16, 2022
  10. AW: PROBLEM: "git pull -v" fails with exit code denoting a submodule syntax errorNemmaier, Christoph, Dec 16, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.