]> git.ipfire.org Git - thirdparty/git.git/commit - git.c
git.c: update NO_PARSEOPT markings
authorSZEDER Gábor <szeder.dev@gmail.com>
Fri, 19 Aug 2022 16:03:52 +0000 (18:03 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Aug 2022 18:13:13 +0000 (11:13 -0700)
commit66fa6e8ed8bcfff6708d7bceed4c2b9e4050ebe7
tree674fa9b7d1e42f82a69961508a66dc7093239ca8
parent6a475b71f8c4ce708d69fdc9317aefbde3769e25
git.c: update NO_PARSEOPT markings

Our Bash completion script can complete --options for commands using
parse-options even when that command doesn't have a dedicated
completion function, but to do so the completion script must know
which commands use parse-options and which don't.  Therefore, commands
not using parse-options are marked in 'git.c's command list with the
NO_PARSEOPT flag.

Update this list, and remove this flag from the commands that by now
use parse-options.

After this change we can TAB complete --options of the plumbing
commands 'commit-tree', 'mailinfo' and 'mktag'.

Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git.c