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>

Thomas Braun committed May 30, 2021 at 13:31 UTC d1e7c2cac9f44f411700397a91b2fb1ec640cdd4
1 file changed +1
contrib/completion/git-completion.bash
+1
@@ -1729,6 +1729,7 @@ __git_diff_common_options="--stat --numstat --shortstat --summary
1729 --indent-heuristic --no-indent-heuristic
1730 --textconv --no-textconv
1731 --patch --no-patch
1732 + --anchored=
1733 "
1734
1735 __git_diff_difftool_options="--cached --staged --pickaxe-all --pickaxe-regex