From: Junio C Hamano <gitster@pobox•com>
To: Thomas Braun <thomas.braun@virtuell-zuhause•de>
Cc: git@vger•kernel.org, Denton Liu <liu.denton@gmail•com>,
Jeff King <peff@peff•net>
Subject: Re: [PATCH] git-completion.bash: Add --anchored
Date: Mon, 31 May 2021 14:24:51 +0900 [thread overview]
Message-ID: <xmqqpmx7wk4c.fsf@gitster.g> (raw)
In-Reply-To: 20210530113135.5778-1-thomas.braun@virtuell-zuhause.de
Thomas Braun <thomas.braun@virtuell-zuhause•de> writes:
> Subject: Re: [PATCH] git-completion.bash: Add --anchored
completion: add --anchored to diff's options
> This flag was introduced in 2477ab2e (diff: support anchoring line(s),
> 2017-11-27) but back then, the bash completion script did not learn
> about the new flag. Add it.
>
> Signed-off-by: Thomas Braun <thomas.braun@virtuell-zuhause•de>
> ---
OK. Thanks.
> contrib/completion/git-completion.bash | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
> index 3c5739b905..4dd268470a 100644
> --- a/contrib/completion/git-completion.bash
> +++ b/contrib/completion/git-completion.bash
> @@ -1729,6 +1729,7 @@ __git_diff_common_options="--stat --numstat --shortstat --summary
> --indent-heuristic --no-indent-heuristic
> --textconv --no-textconv
> --patch --no-patch
> + --anchored=
> "
>
> __git_diff_difftool_options="--cached --staged --pickaxe-all --pickaxe-regex
prev parent reply other threads:[~2021-05-31 5:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-30 11:31 [PATCH] git-completion.bash: Add --anchored Thomas Braun
2021-05-31 5:24 ` Junio C Hamano [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqpmx7wk4c.fsf@gitster.g \
--to=gitster@pobox$(echo .)com \
--cc=git@vger$(echo .)kernel.org \
--cc=liu.denton@gmail$(echo .)com \
--cc=peff@peff$(echo .)net \
--cc=thomas.braun@virtuell-zuhause$(echo .)de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox