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

Re: [PATCH] Make 'git submodule update --force' always check out submodules.

From
Jens Lehmann <jens.lehmann@web.de>
Date
Aug 23, 2012, 18:51 UTC
Message-ID
<50367BC8.3090902@web.de>
In-Reply-To
<7v8vd65qob.fsf@alter.siamese.dyndns.org>
Am 23.08.2012 03:43, schrieb Junio C Hamano:
Show 12 quoted lines
> Stefan Zager <szager@google.com> writes:
> 
>> Currently, it will only do a checkout if the sha1 registered in the containing
>> repository doesn't match the HEAD of the submodule, regardless of whether the
>> submodule is dirty.  As discussed on the mailing list, the '--force' flag is a
>> strong indicator that the state of the submodule is suspect, and should be reset
>> to HEAD.
>>
>> Signed-off-by: Stefan Zager <szager@google.com>
>> ---
> 
> Thanks for a reroll.  Will queue; looking good ;-)
Yup, nicely done!
Previous: Junio C Hamano
Message 3 of 3 in “Make 'git submodule update --force' always check out submodules.”
  1. Make 'git submodule update --force' always check out submodules.Stefan Zager, Jul 25, 2012
  2. Junio C HamanoAug 23, 2012
  3. Jens LehmannAug 23, 2012

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.