git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Shawn O. Pearce <spearce@spearce.org>
Date
Aug 2, 2008, 20:59 UTC
Message-ID
<20080802205957.GB24723@spearce.org>
In-Reply-To
<1217652429-58511-1-git-send-email-lee.marlow@gmail.com>
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.
Previous: Lee Marlow
Message 2 of 2 in “bash completion: remove unused function _git_diff_tree”
  1. bash completion: remove unused function _git_diff_treeLee Marlow, Aug 2, 2008
  2. Shawn O. PearceAug 2, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.