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

Re: [PATCH] git-submodule.sh: Support 'checkout' as a valid update command

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 6, 2014, 23:48 UTC
Message-ID
<xmqqtxdgfz8a.fsf@gitster.dls.corp.google.com>
In-Reply-To
<1389034726-8744-1-git-send-email-ceztko@gmail.com>
Francesco Pretto <ceztko@gmail.com> writes:
> According to "Documentation/gitmodules.txt", 'checkout' is a valid
> 'submodule.<name>.update' command.

As you can see in the surrounding text, we call the value of submodule.*.update a "mode", not a command.

> Also "git-submodule.sh" refers to
> it and processes it correctly.

This present tense puzzles me. If it already refers to checkout and handles it correctly is there anything that needs to be done? Or did you mean "it should refer to and process it but it doesn't, so make it so?"

> Reflecting commit 'ac1fbb' to support
> this syntax and also validate property values during 'update' command,
> issuing an error if the value found is unknown.
Sorry, but -ECANNOTPARSE.
Previous: Francesco PrettoNext: Francesco Pretto
Message 2 of 6 in “git-submodule.sh: Support 'checkout' as a valid update command”
  1. git-submodule.sh: Support 'checkout' as a valid update commandFrancesco Pretto, Jan 6, 2014
  2. Junio C HamanoJan 6, 2014
  3. Francesco PrettoJan 7, 2014
  4. Junio C HamanoJan 7, 2014
  5. Francesco PrettoJan 7, 2014
  6. Francesco PrettoJan 7, 2014

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.