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

Re: Cannot clone a linked working directory.

From
Duy Nguyen <pclouds@gmail.com>
Date
Jun 24, 2015, 11:16 UTC
Message-ID
<CACsJy8BDrkrxO6f8SgqRjmLgSCwALqhO5hXEOo51v25=6NpwrA@mail.gmail.com>
In-Reply-To
<CA+cck7FB6QPz1Pec11TPXxxAhwKR78K9swgsQjMrZPhKJzi_iw@mail.gmail.com>
On Wed, Jun 24, 2015 at 5:38 PM, Bjørnar Snoksrud <snoksrud@gmail.com> wrote:
Show 7 quoted lines
> Summary:
> When creating a linked working directory with `git checkout --to`, you
> cannot clone from the local path. This works when cloning the main
> repository directory.
>
> I couldn't find anything the the documentation for `git checkout` that
> indicates that this shouldn't work.

I didn't think of this use case. If something works on the main worktree then it should also work on linked checkouts. I think I see the problem and will try to fix it in probably a few days (the "git add -N" problem takes higher priority).

-- 
Duy
Previous: Bjørnar Snoksrud
Message 2 of 2 in “Cannot clone a linked working directory.”
  1. Bjørnar SnoksrudJun 24, 2015
  2. Duy NguyenJun 24, 2015

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.