Re: [PATCH v4] worktree repair: detect relative path in .git file correctly
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 28, 2026, 17:41 UTC
- Message-ID
- <xmqqh5ke3zxt.fsf@gitster.g>
- In-Reply-To
- <pull.2205.v4.git.1787930386252.gitgitgadget@gmail.com>
"Yoichi NAKAYAMA via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 8 quoted lines
> From: Yoichi NAKAYAMA <yoichi.nakayama@gmail.com> > > Given a state in which the cross-references between the worktree and > the repository (specifically worktree/id/gitdir in the main repository > and the .git file in the worktree) are recorded using absolute paths, > setting 'worktree.useRelativePaths=true' and running 'git worktree > repair' within the main worktree converts them to relative paths. > ...
This iteration looks very good to me. Will mark for 'next' unless there are comments that say otherwise in the next few days.
Thanks.