summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorCaleb White <cdwhite3@pm.me>2024-10-07 22:12:32 -0500
committerJunio C Hamano <gitster@pobox.com>2024-10-08 11:49:22 -0700
commit08830ac00f2e6173d5248744bd6f0b785189dffe (patch)
tree71ca7f2d1c763df4c08850e49c13244b587bbaaf /builtin/commit.c
parent717af916cd69d2565aa2a7b7d73d895aa92ff392 (diff)
worktree: add test for path handling in linked worktrees
A failure scenario reported in an earlier patch series[1] that several `git worktree` subcommands failed or misbehaved when invoked from within linked worktrees that used relative paths. This adds a test that executes a `worktree prune` command inside both an internally and an externally linked worktree and asserts that the other worktree was not pruned. [1]: https://lore.kernel.org/git/CAPig+cQXFy=xPVpoSq6Wq0pxMRCjS=WbkgdO+3LySPX=q0nPCw@mail.gmail.com/ Reported-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Caleb White <cdwhite3@pm.me> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions