doc: move git-cherry to plumbing
authorDaniels Umanovskis <daniels@umanovskis.se>
Thu, 11 Oct 2018 18:33:50 +0000 (20:33 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Oct 2018 23:26:49 +0000 (08:26 +0900)
Also remove git-cherry from Bash completion because plumbing
commands do not belong there.

Signed-off-by: Daniels Umanovskis <daniels@umanovskis.se>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
command-list.txt
contrib/completion/git-completion.bash
index a9dda3b8af6a754564f8f840f0ca63d93f6c88dc..9c8fcc6944a66ad7bc410e5aedadc2e731772ec7 100644 (file)
@@ -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
index d63d2dffd4e12186e734adb0cc2ae7c1db7a6374..12f7ce0c5c20a03b6c2d90034597d2ca230e7702 100644 (file)
@@ -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 ()