git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] bash completion: remove unused function _git_diff_tree
@ 2008-08-02  4:47 Lee Marlow
  2008-08-02 20:59 ` Shawn O. Pearce
  0 siblings, 1 reply; 2+ messages in thread
From: Lee Marlow @ 2008-08-02  4:47 UTC (permalink / raw)
  To: Shawn O. Pearce; +Cc: git, Lee Marlow

completion for git diff-tree was removed in 5cfb4fe

Signed-off-by: Lee Marlow <lee.marlow@gmail.com>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] bash completion: remove unused function _git_diff_tree
  2008-08-02  4:47 [PATCH] bash completion: remove unused function _git_diff_tree Lee Marlow
@ 2008-08-02 20:59 ` Shawn O. Pearce
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn O. Pearce @ 2008-08-02 20:59 UTC (permalink / raw)
  To: Lee Marlow; +Cc: git

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>

> 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-02 21:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-02  4:47 [PATCH] bash completion: remove unused function _git_diff_tree Lee Marlow
2008-08-02 20:59 ` Shawn O. Pearce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).