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

Re: Submodules & worktree

From
Mateusz Loskot <mateusz@loskot.net>
Date
Feb 1, 2019, 15:04 UTC
Message-ID
<CABUeae8=SLzSiT+UDdPeEbSUJNhU5xVF0-7hGK++v4sHsQWA8w@mail.gmail.com>
In-Reply-To
<CAKQS2dqx9Nux11ot7a-Wxd2qpcdAAWw-e7Li+X3bw7TxJS=Kyw@mail.gmail.com>
On Fri, 1 Feb 2019 at 15:00, Ole Pinto <olepinto@gmail.com> wrote:
Show 7 quoted lines
>
> Adding a worktree from a working copy with submodules doesn't work.
>
> In the config file I have
>     [submodule]
>         recurse = true
>
FYI, https://git-scm.com/docs/git-worktree#_bugs

"Multiple checkout in general is still experimental, and the support for submodules is incomplete. It is NOT recommended to make multiple checkouts of a superproject."

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
Previous: Ole PintoNext: Philippe Blain
Message 2 of 5 in “Fwd: Submodules & worktree”
  1. Ole PintoFeb 1, 2019
  2. Mateusz LoskotFeb 1, 2019
  3. Philippe BlainJan 28, 2020
  4. Philippe BlainJan 28, 2020
  5. Philippe BlainJan 28, 2020

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.