Skip to content

Commit 3a7d26b

Browse files
committed
Merge branch 'tb/complete-diff-anchored'
The command line completion (in contrib/) learned that "git diff" takes the "--anchored" option. * tb/complete-diff-anchored: completion: add --anchored to diff's options
2 parents 4009809 + d1e7c2c commit 3a7d26b

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)