Re: [PATCH v2 0/3] Ensure unique worktree ids across repositories
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 2, 2024, 02:00 UTC
- Message-ID
- <xmqqed2qkfn0.fsf@gitster.g>
- In-Reply-To
- <20241129-wt_unique_ids-v2-0-ff444e9e625a@pm.me>
Caleb White <cdwhite3@pm.me> writes:
> - Add the worktree id to `worktree list` output
I have always thought that we deliberately hid the "ID" from the end user's view because it is a mere implementation detail, and used the filesystem path of the worktree directory instead to identify each instance of the worktree in the end-user interaction. It is unclear why this change is a good idea from that point of view.
Thanks.