Skip to content

Commit d1e7c2c

Browse files
t-bgitster
authored andcommitted
completion: add --anchored to diff's options
This flag was introduced in 2477ab2 (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>
1 parent 4e42405 commit d1e7c2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/completion/git-completion.bash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1729,6 +1729,7 @@ __git_diff_common_options="--stat --numstat --shortstat --summary
17291729
--indent-heuristic --no-indent-heuristic
17301730
--textconv --no-textconv
17311731
--patch --no-patch
1732+
--anchored=
17321733
"
17331734

17341735
__git_diff_difftool_options="--cached --staged --pickaxe-all --pickaxe-regex

0 commit comments

Comments
 (0)