diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-02-09 12:01:48 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-02-09 19:24:50 +0100 |
commit | 77afafb2e3c09323d434c1f8a193a17684b8f109 (patch) | |
tree | 04ee2aa6f5eeb64634678890af230f04f3425dc0 /t/t9902-completion.sh | |
parent | completion: use __gitcomp_builtin in _git_branch (diff) | |
download | git-77afafb2e3c09323d434c1f8a193a17684b8f109.tar.xz git-77afafb2e3c09323d434c1f8a193a17684b8f109.zip |
completion: use __gitcomp_builtin in _git_checkout
The new completable options are:
--ignore-other-worktrees
--progress
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
-rwxr-xr-x | t/t9902-completion.sh | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/t/t9902-completion.sh b/t/t9902-completion.sh index fc614dcbfa..e6485feb0a 100755 --- a/t/t9902-completion.sh +++ b/t/t9902-completion.sh @@ -1237,17 +1237,19 @@ test_expect_success 'double dash "git" itself' ' test_expect_success 'double dash "git checkout"' ' test_completion "git checkout --" <<-\EOF --quiet Z + --detach Z + --track Z + --orphan=Z --ours Z --theirs Z - --track Z - --no-track Z --merge Z - --conflict= - --orphan Z + --conflict=Z --patch Z - --detach Z --ignore-skip-worktree-bits Z + --ignore-other-worktrees Z --recurse-submodules Z + --progress Z + --no-track Z --no-recurse-submodules Z EOF ' |