]> git.ipfire.org Git - thirdparty/git.git/commit - git-p4.py
git-p4: respect excluded paths when detecting branches
authorMazo, Andrey <amazo@checkvideo.com>
Mon, 1 Apr 2019 18:02:38 +0000 (18:02 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Apr 2019 02:25:42 +0000 (11:25 +0900)
commitd15068a6501bec72fddec9f79372a5e3ce5e1379
treed0000778f88719ca9a062e9d3b0de9c8130305ca
parent607a3be6d0f3144b311bfe2fd2b0e5ab4a250e89
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>
git-p4.py
t/t9801-git-p4-branch.sh