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

Re: [PATCH 0/4] Link worktrees with relative paths

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Oct 6, 2024, 22:19 UTC
Message-ID
<CAPig+cS06E1xjM6asqF9-5KSSgGaVQgF2_QdYSziSPJ-5mRSBg@mail.gmail.com>
In-Reply-To
<gZ9_OcXpHKqABP0c_FH7EVpjzCD92RASyYoDkrhhrxzrbKvx5duIaXIrVOK45bmglyrLHrQ6SR4YVtMwU6BGqw1_TWs7rHk_lNderVONljY=@pm.me>
On Sun, Oct 6, 2024 at 6:01 PM Caleb White <cdwhite3@pm.me> wrote:
Show 8 quoted lines
> On Sunday, October 6th, 2024 at 00:11, Eric Sunshine <sunshine@sunshineco.com> wrote:
> > Also, since you're touching infer_backlink(), see [1] which makes some
> > changes nearby.
> > [1]: https://lore.kernel.org/git/20240923075416.54289-1-ericsunshine@charter.net/
>
> Thanks for the heads up, what is the best way to move forward on this?
> Should I base my patch series on that topic branch or bring in that
> particular patch?

If that particular patch impacts your patch series in a way which would require Junio (or any reviewer who wants to test your series) to make non-trivial changes to resolve merge conflicts, then it would probably be best to base your series atop that one (rather than bringing that patch into your series). When composing the cover material for your series, be sure to mention that you have based your series atop that patch.

Show 12 quoted lines
> > 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.)
> > [2]: https://lore.kernel.org/git/CAPig+cQXFy=xPVpoSq6Wq0pxMRCjS=WbkgdO+3LySPX=q0nPCw@mail.gmail.com/
>
> I just ran through the scenarios you described and everything works as
> you would expect. This is because internally the code handles both
> absolute and relative paths, and the worktree.path has been updated to
> always be the absolute path. I will make this clear when I rewrite that
> patch's commit message.
Thanks.
Previous: Caleb WhiteNext: Caleb White
Message 12 of 23 in “Link worktrees with relative paths”
  1. 0/4 Link worktrees with relative pathsCaleb White, Oct 6, 2024
  2. 1/4 worktree: refactor infer_backlink() to use *strbufCaleb White, Oct 6, 2024
  3. 2/4 worktree: link worktrees with relative pathsCaleb White, Oct 6, 2024
  4. 3/4 worktree: sync worktree paths after gitdir moveCaleb White, Oct 6, 2024
  5. 4/4 worktree: prevent null pointer dereferenceCaleb White, Oct 6, 2024
  6. Eric SunshineOct 6, 2024
  7. Caleb WhiteOct 6, 2024
  8. Eric SunshineOct 6, 2024
  9. Eric SunshineOct 6, 2024
  10. Eric SunshineOct 6, 2024
  11. Caleb WhiteOct 6, 2024
  12. Eric SunshineOct 6, 2024
  13. Caleb WhiteOct 6, 2024
  14. Eric SunshineOct 6, 2024
  15. Caleb WhiteOct 6, 2024
  16. Eric SunshineOct 6, 2024
  17. Caleb WhiteOct 6, 2024
  18. Eric SunshineOct 6, 2024
  19. Kristoffer HaugsbakkOct 6, 2024
  20. Caleb WhiteOct 6, 2024
  21. Caleb WhiteOct 6, 2024
  22. Eric SunshineOct 6, 2024
  23. Caleb WhiteOct 6, 2024

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.