diff options
author | Mazo, Andrey <amazo@checkvideo.com> | 2019-04-01 18:02:38 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-04-02 11:25:42 +0900 |
commit | d15068a6501bec72fddec9f79372a5e3ce5e1379 (patch) | |
tree | d0000778f88719ca9a062e9d3b0de9c8130305ca /t/t9801-git-p4-branch.sh | |
parent | git-p4: add failing test for "git-p4: respect excluded paths when detecting b... (diff) | |
download | tgif-d15068a6501bec72fddec9f79372a5e3ce5e1379.tar.xz |
git-p4: respect excluded paths when detecting branches
Currently, excluded paths are only handled in the following cases:
* no branch detection;
* branch detection with using clientspec.
However, excluded paths are not respected in case of
branch detection without using clientspec.
Fix this by consulting the list of excluded paths
when splitting files across branches.
Signed-off-by: Andrey Mazo <amazo@checkvideo.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9801-git-p4-branch.sh')
-rwxr-xr-x | t/t9801-git-p4-branch.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t9801-git-p4-branch.sh b/t/t9801-git-p4-branch.sh index 7530d22de2..9654362052 100755 --- a/t/t9801-git-p4-branch.sh +++ b/t/t9801-git-p4-branch.sh @@ -412,7 +412,7 @@ test_expect_failure 'git p4 clone file subset branch' ' ' # Check that excluded files are omitted during import -test_expect_failure 'git p4 clone complex branches with excluded files' ' +test_expect_success 'git p4 clone complex branches with excluded files' ' test_when_finished cleanup_git && test_create_repo "$git" && ( |