summaryrefslogtreecommitdiff
path: root/contrib/completion/git-completion.bash
diff options
context:
space:
mode:
authorThomas Braun <thomas.braun@virtuell-zuhause.de>2021-05-30 11:31:35 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-05-30 21:21:14 (GMT)
commitd1e7c2cac9f44f411700397a91b2fb1ec640cdd4 (patch)
tree48f0c6829e1ac5aebb2f311544b2da14520bacc4 /contrib/completion/git-completion.bash
parent4e42405f00ecbbee412846f48cb0253efeebe726 (diff)
downloadgit-d1e7c2cac9f44f411700397a91b2fb1ec640cdd4.zip
git-d1e7c2cac9f44f411700397a91b2fb1ec640cdd4.tar.gz
git-d1e7c2cac9f44f411700397a91b2fb1ec640cdd4.tar.bz2
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> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/completion/git-completion.bash')
-rw-r--r--contrib/completion/git-completion.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 3c5739b..4dd2684 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