Message ID | 20250207-b4-pks-path-drop-the-repository-v2-0-13cad3c11b8a@pks.im (mailing list archive) |
---|---|
Headers | show |
Series | path: remove dependency on `the_repository` | expand |
Patrick Steinhardt <ps@pks.im> writes: > Hi, > > this patch series removes the dependency on `the_repository` from the > "path" subsystem. The series is structured as follows: > > - Patches 1 to 5 unifyf the interfaces that can be used to retrieve > repository paths (gitdir, commondir, workdir and submodule paths) > and adapts callers accodringly. > > - Patches 6 to 12 drop repository path functions that had an implicit > dependency on `the_repository`. > > - Patches 13 to 16 refactor "path.c"-internal code to stop depending > on `the_repository`. > > Changes in v2: > - Rename variable to `wt_gitdir` for the sake of consistency. > - Improve several commit messages. > - Link to v1: https://lore.kernel.org/r/20250206-b4-pks-path-drop-the-repository-v1-0-4e77f0313206@pks.im > Changes look good, I had a look at the range-diff and everything looks great to me now :) Thanks [snip]
On Fri, Feb 07, 2025 at 12:03:25PM +0100, Patrick Steinhardt wrote: > Hi, > > this patch series removes the dependency on `the_repository` from the > "path" subsystem. The series is structured as follows: > > - Patches 1 to 5 unifyf the interfaces that can be used to retrieve > repository paths (gitdir, commondir, workdir and submodule paths) > and adapts callers accodringly. > > - Patches 6 to 12 drop repository path functions that had an implicit > dependency on `the_repository`. > > - Patches 13 to 16 refactor "path.c"-internal code to stop depending > on `the_repository`. > > Changes in v2: > - Rename variable to `wt_gitdir` for the sake of consistency. > - Improve several commit messages. > - Link to v1: https://lore.kernel.org/r/20250206-b4-pks-path-drop-the-repository-v1-0-4e77f0313206@pks.im > My questions for v1 are all answered. Thanks for your explanation. The range-diff looks good to me. Thanks, Jialuo
shejialuo <shejialuo@gmail.com> writes: > On Fri, Feb 07, 2025 at 12:03:25PM +0100, Patrick Steinhardt wrote: >> Hi, >> >> this patch series removes the dependency on `the_repository` from the >> "path" subsystem. The series is structured as follows: >> >> - Patches 1 to 5 unifyf the interfaces that can be used to retrieve >> repository paths (gitdir, commondir, workdir and submodule paths) >> and adapts callers accodringly. >> >> - Patches 6 to 12 drop repository path functions that had an implicit >> dependency on `the_repository`. >> >> - Patches 13 to 16 refactor "path.c"-internal code to stop depending >> on `the_repository`. >> >> Changes in v2: >> - Rename variable to `wt_gitdir` for the sake of consistency. >> - Improve several commit messages. >> - Link to v1: https://lore.kernel.org/r/20250206-b4-pks-path-drop-the-repository-v1-0-4e77f0313206@pks.im >> > > My questions for v1 are all answered. Thanks for your explanation. The > range-diff looks good to me. Thanks, all. By the way, shejialuo, this may textually conflict with your get_worktrees_without_reading_head() thing, but the resolution should be obvious.
On Mon, Feb 10, 2025 at 10:32:16AM -0800, Junio C Hamano wrote: > Thanks, all. > > By the way, shejialuo, this may textually conflict with your > get_worktrees_without_reading_head() thing, but the resolution > should be obvious. Thanks for reminding me to notice this. I will take care. Thanks, Jialuo