Files
git/builtin
Jeff King 836c8ceb7a builtins: always pass prefix to parse_options()
Our builtins receive a "prefix" argument as part of their cmd_foo()
function. We should always pass this to parse_options() if we're calling
it, as it may be used for OPT_FILENAME() options.

In the cases here, there's no option that would use it, so we're not
fixing any bug. This is just future-proofing and setting a good example
(plus quelling some -Wunused-parameter warnings).

Note in the case of revert/cherry-pick, that we plumb the prefix through
to run_sequencer(), as those builtins are just thin wrappers around it.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2023-03-28 14:11:24 -07:00
..
2023-03-17 14:03:10 -07:00
2023-02-22 14:55:45 -08:00
2023-03-17 14:03:10 -07:00
2023-03-17 14:03:10 -07:00
2022-12-14 15:55:46 +09:00
2023-03-17 14:03:09 -07:00
2023-03-17 14:03:10 -07:00
2023-03-17 14:03:10 -07:00
2023-03-17 14:03:10 -07:00
2023-03-17 14:03:09 -07:00
2023-03-17 14:03:10 -07:00