Merge commit

d59500321923d2f21db38edfb8490f17a1ff1b83

Merge branch 'yn/worktree-repair-relative'

The git worktree repair command failed to rewrite the .git file of
a working tree from a relative path to an absolute path when the
command was run in the working tree itself. The
read_gitfile_gently() function was modified to also return whether
the path originally recorded in the file was absolute, and this new
capability is used to correctly detect such mismatches.

* yn/worktree-repair-relative:
  worktree repair: detect relative path in .git file correctly

Junio C Hamano <gitster@pobox.com> ยท 2026-09-07 16:32 UTC

Browse files

Combined diff: only what this merge did beyond taking one side. Added lines are colored by the parent they came from; bold lines came from none of them; removed lines are red.

No changes beyond merging its parents: every hunk came cleanly from one side.