]> git.ipfire.org Git - thirdparty/git.git/commit - t/t9817-git-p4-exclude.sh
git-p4: add failing test for "don't exclude other files with same prefix"
authorMazo, Andrey <amazo@checkvideo.com>
Mon, 1 Apr 2019 18:02:29 +0000 (18:02 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Apr 2019 02:25:41 +0000 (11:25 +0900)
commitd6045201fcec7bd9738fea4daf9d176d8df9f5ba
tree60dd73e4a8d8a1acad02721262059f2d3a7b36a9
parentff8c50ed0c98d9bc6aaf5fc2e93bd976c3076750
git-p4: add failing test for "don't exclude other files with same prefix"

In preparation for a fix, add a failing test case to test that
git-p4 doesn't exclude files with the same prefix unintentionally
when exclude paths are specified without a trailing /.
I.e., don't exclude "//depot/file_dont_exclude" if run with "-//depot/file".
or don't exclude "//depot/discard_file_not" if run with "-//depot/discard_file".

Signed-off-by: Andrey Mazo <amazo@checkvideo.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9817-git-p4-exclude.sh