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

Re: [PATCH] worktree: add: introduce the --name option

From
ATAntoine Tenart <antoine.tenart@ack.tf>
Date
Jul 20, 2016, 16:12 UTC
Message-ID
<20160720161225.GA23406@kwain>
In-Reply-To
<CACsJy8AatsjV7L6u6oA5xx+=K9hc9pjYTm_-XxxHHQ8aG9HyeQ@mail.gmail.com>
On Wed, Jul 20, 2016 at 04:54:40PM +0200, Duy Nguyen wrote:
Show 11 quoted lines
> On Tue, Jul 19, 2016 at 9:35 PM, Antoine Tenart <antoine.tenart@ack.tf> wrote:
> >
> > Hmm, so if I understand correctly my use case still won't be supported,
> > as adding a new worktree with the same basename will fail. Or did I miss
> > something?
> 
> Hm... _what_ fails? If you create two worktrees project0/foo and
> project1/foo, you'll get .git/worktrees/foo and .git/worktrees/foo1
> but worktree creation should succeed both times. As long as you don't
> have to look into .git/worktrees/ everything should be fine, you won't
> see foo vs foo1.

You're right, I don't know why I was sure this wasn't working... Sorry for the noise :-)

-- 
Antoine
Previous: Duy NguyenNext: Antoine Tenart
Message 9 of 14 in “worktree: add: introduce the --name option”
  1. worktree: add: introduce the --name optionAntoine Tenart, Jul 19, 2016
  2. Junio C HamanoJul 19, 2016
  3. Duy NguyenJul 19, 2016
  4. Antoine TenartJul 19, 2016
  5. Duy NguyenJul 19, 2016
  6. Eric SunshineJul 19, 2016
  7. Antoine TenartJul 19, 2016
  8. Duy NguyenJul 20, 2016
  9. Antoine TenartJul 20, 2016
  10. Antoine TenartJul 19, 2016
  11. Junio C HamanoJul 19, 2016
  12. Antoine TenartJul 19, 2016
  13. Eric SunshineJul 19, 2016
  14. Antoine TenartJul 20, 2016

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.