Re: [PATCH 0/4] Link worktrees with relative paths
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Oct 6, 2024, 05:11 UTC
- Message-ID
- <CAPig+cTVbXVffSeyNAV3c0zuSUozY7giWtMw3GpHs+xVEpaNvA@mail.gmail.com>
- In-Reply-To
- <CAPig+cTB-sA-g4cdhfEjWwY1mnbWJ41e=bOCNwp=Y8JKvpmpRg@mail.gmail.com>
On Sun, Oct 6, 2024 at 1:04 AM Eric Sunshine <sunshine@sunshineco.com> wrote:
Show 9 quoted lines
> On Sun, Oct 6, 2024 at 12:59 AM Caleb White <cdwhite3@pm.me> wrote: > > This patch series modifies Git's handling of worktree linking to use > > relative paths instead of absolute paths. The motivation behind this > > change is to enhance the robustness of worktree links when the main > > repository is moved, or when used in environments like containerized > > development where absolute paths differ across systems. > > Unfortunately, these patches are whitespace-damaged. Can you please > resubmit using either `git send-email` or GitGitGadget[1]?
Also, since you're touching infer_backlink(), see [1] which makes some changes nearby.
And you might be interested in [2] which may indicate that there are some holes in the tests around worktrees which might need filling. (Since your patches are whitespace-damaged, I haven't checked whether your series succeeds or fails in the way the series to which [2] is a response fails.)
[1]: https://lore.kernel.org/git/20240923075416.54289-1-ericsunshine@charter.net/ [2]: https://lore.kernel.org/git/CAPig+cQXFy=xPVpoSq6Wq0pxMRCjS=WbkgdO+3LySPX=q0nPCw@mail.gmail.com/