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

Re: [PATCH] completion: Add --word-diff-regex= to diff

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 21, 2016, 00:18 UTC
Message-ID
<xmqqy4bj23a3.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<569FC542.2060504@virtuell-zuhause.de>
Thomas Braun <thomas.braun@virtuell-zuhause.de> writes:
Show 20 quoted lines
> Signed-off-by: Thomas Braun <thomas.braun@virtuell-zuhause.de>
> ---
>  contrib/completion/git-completion.bash | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/contrib/completion/git-completion.bash
> b/contrib/completion/git-completion.bash
> index ab4da7f..d2a08dd 100644
> --- a/contrib/completion/git-completion.bash
> +++ b/contrib/completion/git-completion.bash
> @@ -1169,7 +1169,7 @@ __git_diff_common_options="--stat --numstat
> --shortstat --summary
>  			--no-prefix --src-prefix= --dst-prefix=
>  			--inter-hunk-context=
>  			--patience --histogram --minimal
> -			--raw --word-diff
> +			--raw --word-diff --word-diff-regex=
>  			--dirstat --dirstat= --dirstat-by-file
>  			--dirstat-by-file= --cumulative
>  			--diff-algorithm=

Thanks; the patch was word-wrapped, but I fixed it up and managed to apply.

Previous: Thomas BraunNext: Thomas Braun
Message 2 of 3 in “completion: Add --word-diff-regex= to diff”
  1. completion: Add --word-diff-regex= to diffThomas Braun, Jan 20, 2016
  2. Junio C HamanoJan 21, 2016
  3. Thomas BraunJan 22, 2016

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.