From 61018fe9e005a54e18184481927519d64035220a Mon Sep 17 00:00:00 2001 From: Daniels Umanovskis Date: Thu, 11 Oct 2018 20:33:50 +0200 Subject: [PATCH] doc: move git-cherry to plumbing Also remove git-cherry from Bash completion because plumbing commands do not belong there. Signed-off-by: Daniels Umanovskis Signed-off-by: Junio C Hamano --- command-list.txt | 2 +- contrib/completion/git-completion.bash | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/command-list.txt b/command-list.txt index a9dda3b8af..9c8fcc6944 100644 --- a/command-list.txt +++ b/command-list.txt @@ -62,7 +62,7 @@ git-check-mailmap purehelpers git-checkout mainporcelain history git-checkout-index plumbingmanipulators git-check-ref-format purehelpers -git-cherry ancillaryinterrogators complete +git-cherry plumbinginterrogators complete git-cherry-pick mainporcelain git-citool mainporcelain git-clean mainporcelain diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index d63d2dffd4..12f7ce0c5c 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1340,17 +1340,6 @@ _git_checkout () esac } -_git_cherry () -{ - case "$cur" in - --*) - __gitcomp_builtin cherry - return - esac - - __git_complete_refs -} - __git_cherry_pick_inprogress_options="--continue --quit --abort" _git_cherry_pick ()