X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=t%2Ft9902-completion.sh;h=43cf313a1c09ad8fb223ba775d5548c3f00c339c;hb=2d29e070a20e1dc9129eaaa0a308f5db609b2e3a;hp=3a2c6326d83b760194c600e2ccde619438200508;hpb=c1e56cc9b3fa56810f5af6086bf7487646aa466b;p=platform%2Fupstream%2Fgit.git diff --git a/t/t9902-completion.sh b/t/t9902-completion.sh index 3a2c632..43cf313 100755 --- a/t/t9902-completion.sh +++ b/t/t9902-completion.sh @@ -1437,6 +1437,7 @@ test_expect_success 'double dash "git checkout"' ' --guess Z --no-guess Z --no-... Z + --overlay Z EOF ' @@ -1483,6 +1484,12 @@ test_expect_success 'git --help completion' ' test_completion "git --help core" "core-tutorial " ' +test_expect_success 'completion.commands removes multiple commands' ' + test_config completion.commands "-cherry -mergetool" && + git --list-cmds=list-mainporcelain,list-complete,config >out && + ! grep -E "^(cherry|mergetool)$" out +' + test_expect_success 'setup for integration tests' ' echo content >file1 && echo more >file2 &&