diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-05-14 02:26:08 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-05-14 02:26:08 +0300 |
commit | e289f681ede1aad2ded33e76518bdc80064f3c16 (patch) | |
tree | cca122a152a052b80978db87a835e08b40a31aa8 /t/t9801-git-p4-branch.sh | |
parent | eede71149ec0e03eeb4d469e18d16ff4def1cd35 (diff) | |
parent | 6b79818bfbd39a5d41d15003375a9f382f70ad0e (diff) |
Merge branch 'jk/p4-locate-branch-point-optim'
"git p4" learned to find branch points more efficiently.
* jk/p4-locate-branch-point-optim:
git-p4: speed up search for branch parent
git-p4: ensure complex branches are cloned correctly
Diffstat (limited to 't/t9801-git-p4-branch.sh')
-rwxr-xr-x | t/t9801-git-p4-branch.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t9801-git-p4-branch.sh b/t/t9801-git-p4-branch.sh index ff94c3f17d..50a6f8bad5 100755 --- a/t/t9801-git-p4-branch.sh +++ b/t/t9801-git-p4-branch.sh @@ -294,11 +294,13 @@ test_expect_success 'git p4 clone complex branches' ' test_path_is_file file3 && grep update file2 && git reset --hard p4/depot/branch4 && + git diff-tree --quiet HEAD && test_path_is_file file1 && test_path_is_file file2 && test_path_is_missing file3 && ! grep update file2 && git reset --hard p4/depot/branch5 && + git diff-tree --quiet HEAD && test_path_is_file file1 && test_path_is_file file2 && test_path_is_file file3 && |