mirror of
https://github.com/git/git.git
synced 2024-06-10 07:36:10 +02:00
completion: complete --no-relative
Add --no-relative to __git_diff_common_options in the completion script, and move --relative from __git_diff_difftool_options to __git_diff_common_options since it applies to more than just diff and difftool. Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
3a4d453246
commit
ffcccc62b0
|
@ -1741,6 +1741,7 @@ __git_diff_common_options="--stat --numstat --shortstat --summary
|
|||
--color-moved-ws= --no-color-moved-ws
|
||||
--full-index --binary --abbrev --diff-filter=
|
||||
--find-copies --find-object --find-renames
|
||||
--no-relative --relative
|
||||
--find-copies-harder --ignore-cr-at-eol
|
||||
--text --ignore-space-at-eol --ignore-space-change
|
||||
--ignore-all-space --ignore-blank-lines --exit-code
|
||||
|
@ -1762,7 +1763,7 @@ __git_diff_common_options="--stat --numstat --shortstat --summary
|
|||
|
||||
# Options for diff/difftool
|
||||
__git_diff_difftool_options="--cached --staged --pickaxe-all --pickaxe-regex
|
||||
--base --ours --theirs --no-index --relative --merge-base
|
||||
--base --ours --theirs --no-index --merge-base
|
||||
--ita-invisible-in-index --ita-visible-in-index
|
||||
$__git_diff_common_options"
|
||||
|
||||
|
|
Loading…
Reference in New Issue