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

Re: [WIP PATCH 4/4] Teach checkout-index to recursively checkout submodules

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 9, 2010, 22:04 UTC
Message-ID
<7v8w8w1dwl.fsf@alter.siamese.dyndns.org>
In-Reply-To
<4BBF9ED3.9010502@web.de>

As a plumbing I would prefer to leave checkout-index as is; script writers can choose to recurse if they choose to.

This is not limited to checkout-index, but what is the stance of this new feature on failures from sub-checkout when there are local modifications in the work tree? Some parts of the work tree is checked out while the ones after the failure that sorts later in the alphabetical order will not be checked out, resulting in an inconsistent state (I am not saying that it is good or bad---I am trying to see what the users should expect from this new feature)?

Previous: Jens LehmannNext: Jens Lehmann
Message 11 of 13 in “Recursively checkout submodules”
  1. 0/4 Recursively checkout submodulesJens Lehmann, Apr 9, 2010
  2. 1/4 Prepare checkout_entry() for recursive checkout of submodulesJens Lehmann, Apr 9, 2010
  3. Junio C HamanoApr 9, 2010
  4. Jens LehmannApr 9, 2010
  5. Jens LehmannApr 10, 2010
  6. Junio C HamanoApr 10, 2010
  7. Jens LehmannApr 10, 2010
  8. 2/4 Add "ignore_submodules" member to "struct unpack_trees_options"Jens Lehmann, Apr 9, 2010
  9. 3/4 Teach checkout to recursively checkout submodulesJens Lehmann, Apr 9, 2010
  10. 4/4 Teach checkout-index to recursively checkout submodulesJens Lehmann, Apr 9, 2010
  11. Junio C HamanoApr 9, 2010
  12. Jens LehmannApr 9, 2010
  13. Junio C HamanoApr 10, 2010

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.