diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2020-01-16 20:21:53 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-01-16 12:56:12 -0800 |
commit | f365bf40a073624b96651c9f731da4bd7d0114f7 (patch) | |
tree | 5f0c60912ef9dfaee304bbd0ffc59c0a14d11338 /t/t0055-beyond-symlinks.sh | |
parent | Git 2.25 (diff) | |
download | tgif-f365bf40a073624b96651c9f731da4bd7d0114f7.tar.xz |
clean: demonstrate a bug with pathspecs
b9670c1f5e (dir: fix checks on common prefix directory, 2019-12-19)
modified the way pathspecs are handled when handling a directory
during "git clean -f <path>". While this improved the behavior for
known test breakages, it also regressed in how the clean command
handles cleaning a specified file.
Add a test case that demonstrates this behavior. This test passes
before b9670c1f5e then fails after.
Helped-by: Kevin Willford <Kevin.Willford@microsoft.com>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Reviewed-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0055-beyond-symlinks.sh')
0 files changed, 0 insertions, 0 deletions