completion: complete --ita-invisible-in-index and --ita-visible-in-index
commit08a9a6d615ac74324e7f0e9a97a17e38f799c5ec
authorPhilippe Blain <levraiphilippeblain@gmail.com>
Mon, 26 Jun 2023 16:24:37 +0000 (26 16:24 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Jun 2023 16:40:12 +0000 (26 09:40 -0700)
tree969f257355aa016eadc61bf95cd083a1b77776ac
parent8885532abb0d34e5e7d77b255df53914361b64d9
completion: complete --ita-invisible-in-index and --ita-visible-in-index

The options --ita-invisible-in-index and --ita-visible-in-index are
listed in diff-options.txt and so are included in the documentation of
commands which include this file (diff, diff-*, log, show, format-patch)
but they only make sense for diffs relating to the index. As such, add
them to '__git_diff_difftool_options' instead of
'__git_diff_common_options' since it makes more sense to add them there.

Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash