completion: move --pickaxe-{all,regex} to __git_diff_common_options
commitd520d98382d3ad7071bc33e2ea2204a4c64ba7bb
authorPhilippe Blain <levraiphilippeblain@gmail.com>
Mon, 26 Jun 2023 16:24:45 +0000 (26 16:24 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Jun 2023 16:40:13 +0000 (26 09:40 -0700)
tree7cf382db910ab760b88d6f9be7f24770f709b019
parentda260f61889f0cda3267ca09db3fe48794f52a26
completion: move --pickaxe-{all,regex} to __git_diff_common_options

The options --pickaxe-all and --pickaxe-regex are listed in
__git_diff_difftool_options and repeated in _git_log. Move them to
__git_diff_common_options instead, which makes them available
automatically in the completion of other commands referencing this
variable.

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