summaryrefslogtreecommitdiff
path: root/contrib/completion/git-completion.bash
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-07-08 13:14:56 -0700
committerJunio C Hamano <gitster@pobox.com>2021-07-08 13:14:56 -0700
commit3a7d26bb4b60103a60284733b230a8af242fa9ff (patch)
tree73c2fab971dd3af7c00d53dab055c714e19e70fa /contrib/completion/git-completion.bash
parent40098093c6386db465174ef93b997b7e7ad3f18a (diff)
parentd1e7c2cac9f44f411700397a91b2fb1ec640cdd4 (diff)
downloadgit-3a7d26bb4b60103a60284733b230a8af242fa9ff.tar.gz
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
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 b50c5d0ea3..4073d67f3b 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