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 19, 2016, 19:33 UTC
Message-ID
<20160719193351.GC28551@kwain>
In-Reply-To
<xmqqh9blfntw.fsf@gitster.mtv.corp.google.com>
On Tue, Jul 19, 2016 at 12:08:11PM -0700, Junio C Hamano wrote:
Show 16 quoted lines
> Antoine Tenart <antoine.tenart@ack.tf> writes:
> 
> > Being able to manually define the name can also be useful in some (rare)
> > cases, where you reorganize your project directory tree. But that's not
> > a strong argument for adding this option :-)
> 
> Continuing the rationale that rejected the topic from the earlier
> discussion thread, the above is like saying that we should expose
> inode number more to the users and and allow users to tell a
> specific inode number to use when creating an entry in a directory,
> which would allow users to edit the directory with binary editor and
> replace the entry with the same inode number to move or rename the
> path.  The discussion considers that the "name" is an implementation
> detail of the worktree subsystem, like inode number is for a
> filesystem implementation.  A proper solution would be to invent
> "mv" command ;-).
Hehe :-)
-- 
Antoine
Previous: Junio C HamanoNext: Eric Sunshine
Message 12 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.