Skip to content

worktree repair: detect relative path in .git file correctly - #2205

Open
yoichi wants to merge 1 commit into
gitgitgadget:masterfrom
yoichi:worktree-repair-relative-path-handling
Open

worktree repair: detect relative path in .git file correctly#2205
yoichi wants to merge 1 commit into
gitgitgadget:masterfrom
yoichi:worktree-repair-relative-path-handling

Conversation

@yoichi

@yoichi yoichi commented Aug 15, 2026

Copy link
Copy Markdown

No description provided.

Since read_gitfile_gently() always returns an absolute path, the
conversion from a relative path to an absolute path was not
functioning and dead code existed.

Signed-off-by: Yoichi NAKAYAMA <yoichi.nakayama@gmail.com>
@yoichi

yoichi commented Aug 15, 2026

Copy link
Copy Markdown
Author

/submit

@gitgitgadget

gitgitgadget Bot commented Aug 15, 2026

Copy link
Copy Markdown

Submitted as pull.2205.git.1786799480344.gitgitgadget@gmail.com

To fetch this version into FETCH_HEAD:

git fetch https://github.com/gitgitgadget/git/ pr-2205/yoichi/worktree-repair-relative-path-handling-v1

To fetch this version to local tag pr-2205/yoichi/worktree-repair-relative-path-handling-v1:

git fetch --no-tags https://github.com/gitgitgadget/git/ tag pr-2205/yoichi/worktree-repair-relative-path-handling-v1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant