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 <daniels@umanovskis.se>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Daniels Umanovskis 2018-10-11 20:33:50 +02:00 committed by Junio C Hamano
parent cae598d998
commit 61018fe9e0
2 changed files with 1 additions and 12 deletions

View 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

View 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 ()