Files
git/builtin
Nguyễn Thái Ngọc Duy 3ebbe28989 parse-options: allow ll_callback with OPTION_CALLBACK
OPTION_CALLBACK is much simpler/safer to use, but parse_opt_cb does
not allow access to parse_opt_ctx_t, which sometimes is useful
(e.g. to obtain the prefix).

Extending parse_opt_cb to take parse_opt_cb could result in a lot of
changes. Instead let's just allow ll_callback to be used with
OPTION_CALLBACK. The user will have to be careful, not to change
anything in ctx, or return wrong result code. But that's the price for
ll_callback.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2019-01-27 16:28:18 -08:00
..
2018-12-09 12:37:32 +09:00
2019-01-04 13:33:33 -08:00
2019-01-14 15:29:29 -08:00
2019-01-04 13:33:33 -08:00
2018-10-19 13:34:02 +09:00
2018-10-19 13:34:02 +09:00
2019-01-04 13:33:33 -08:00
2018-10-26 14:22:13 +09:00
2019-01-04 13:33:33 -08:00
2019-01-04 13:33:33 -08:00
2019-01-18 13:49:52 -08:00
2018-10-19 13:34:02 +09:00
2019-01-04 13:33:33 -08:00
2019-01-04 13:33:33 -08:00
2019-01-04 13:33:31 -08:00
2019-01-04 13:33:33 -08:00
2019-01-04 13:33:33 -08:00
2019-01-04 13:33:33 -08:00