[PATCH] bash completion: remove unused function _git_diff_tree

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] bash completion: remove unused function _git_diff_tree

Lee Marlow
completion for git diff-tree was removed in 5cfb4fe

Signed-off-by: Lee Marlow <[hidden email]>
---
 contrib/completion/git-completion.bash |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

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]}"
--
1.6.0.rc1.27.g9b6bf

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [hidden email]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] bash completion: remove unused function _git_diff_tree

Shawn Pearce
Lee Marlow <[hidden email]> wrote:
> completion for git diff-tree was removed in 5cfb4fe
>
> Signed-off-by: Lee Marlow <[hidden email]>

Acked-by: Shawn O. Pearce <[hidden email]>

> 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [hidden email]
More majordomo info at  http://vger.kernel.org/majordomo-info.html