From: Thomas Braun Date: Sun, 30 May 2021 11:31:35 +0000 (+0200) Subject: completion: add --anchored to diff's options X-Git-Tag: v2.33.0-rc0~103^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d1e7c2cac9f44f411700397a91b2fb1ec640cdd4;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- 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