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

Re: [PATCH] Add prefix oriented completions for diff and format-patch commands.

From
Shawn O. Pearce <spearce@spearce.org>
Date
Apr 6, 2008, 19:45 UTC
Message-ID
<20080406194520.GK10274@spearce.org>
In-Reply-To
<1207500968-792-1-git-send-email-pascal@obry.net>
Pascal Obry <pascal.obry@gmail.com> wrote:
> Signed-off-by: Pascal Obry <pascal@obry.net>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Show 24 quoted lines
> diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
> index 791e30f..618d278 100755
> --- a/contrib/completion/git-completion.bash
> +++ b/contrib/completion/git-completion.bash
> @@ -639,7 +639,9 @@ _git_diff ()
>  			--find-copies-harder --pickaxe-all --pickaxe-regex
>  			--text --ignore-space-at-eol --ignore-space-change
>  			--ignore-all-space --exit-code --quiet --ext-diff
> -			--no-ext-diff"
> +			--no-ext-diff
> +			--no-prefix --src-prefix= --dst-prefix=
> +			"
>  		return
>  		;;
>  	esac
> @@ -696,6 +698,7 @@ _git_format_patch ()
>  			--full-index --binary
>  			--not --all
>  			--cover-letter
> +			--no-prefix --src-prefix= --dst-prefix=
>  			"
>  		return
>  		;;
> -- 
-- 
Shawn.
Previous: Pascal Obry
Message 2 of 2 in “Add prefix oriented completions for diff and format-patch commands.”
  1. Add prefix oriented completions for diff and format-patch commands.Pascal Obry, Apr 6, 2008
  2. Shawn O. PearceApr 6, 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.