From: Junio C Hamano Date: Wed, 15 Oct 2025 17:29:28 +0000 (-0700) Subject: Merge branch 'jc/diff-no-index-in-subdir' into maint-2.51 X-Git-Url: https://www.git.kevux.org/?a=commitdiff_plain;h=2dad35f32f4ac69d53a426759209d44f4a09df55;p=rit Merge branch 'jc/diff-no-index-in-subdir' into maint-2.51 "git diff --no-index" run inside a subdirectory under control of a Git repository operated at the top of the working tree and stripped the prefix from the output, and oddballs like "-" (stdin) did not work correctly because of it. Correct the set-up by undoing what the set-up sequence did to cwd and prefix. * jc/diff-no-index-in-subdir: diff: --no-index should ignore the worktree --- 2dad35f32f4ac69d53a426759209d44f4a09df55