Merge branch 'pk/rebase-in-c-4-opts'
[gitweb.git] / contrib / completion / git-completion.bash
index db7fd87b6b27f6e85a48b31d08e0480648f9c5d5..86b8f474c8d5af0e5a948b835ba104fd963cbff5 100644 (file)
@@ -1341,17 +1341,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 ()
@@ -1833,7 +1822,7 @@ _git_mergetool ()
                return
                ;;
        --*)
-               __gitcomp "--tool= --prompt --no-prompt"
+               __gitcomp "--tool= --prompt --no-prompt --gui --no-gui"
                return
                ;;
        esac