summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorPhilippe Blain <levraiphilippeblain@gmail.com>2023-06-26 16:24:44 +0000
committerJunio C Hamano <gitster@pobox.com>2023-06-26 09:40:13 -0700
commitda260f61889f0cda3267ca09db3fe48794f52a26 (patch)
tree9e308d4572e59a74850d0b4207c33896d8e8f643 /builtin/commit.c
parent3b698111d5324236c7af330b0c02698f30d15d19 (diff)
completion: complete --ws-error-highlight
Add --ws-error-highlight= to the list in __git_diff_common_options, and add the accepted values in a new list __git_ws_error_highlight_opts. Use __git_ws_error_highlight_opts in _git_diff, _git_log and _git_show to offer the accepted values. As noted in fd0bc17557 (completion: add diff --color-moved[-ws], 2020-02-21), there is no easy way to offer completion for several comma-separated values, so this is limited to completing a single value. Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions