Re: [PATCH] bash completion: remove unused function _git_diff_tree
Lee Marlow <lee.marlow@gmail.com> wrote:
> completion for git diff-tree was removed in 5cfb4fe
>
> Signed-off-by: Lee Marlow <lee.marlow@gmail.com>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Show 17 quoted lines
> diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
> index 30d8701..e32c1f1 100755
> --- a/contrib/completion/git-completion.bash
> +++ b/contrib/completion/git-completion.bash
> @@ -721,11 +721,6 @@ _git_diff ()
> __git_complete_file
> }
>
> -_git_diff_tree ()
> -{
> - __gitcomp "$(__git_refs)"
> -}
> -
> _git_fetch ()
> {
> local cur="${COMP_WORDS[COMP_CWORD]}"
> -- --
Shawn.