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
2018-10-26 10:17:59 +09:00
2018-11-12 14:50:05 +09:00
2019-01-27 16:28:18 -08:00
2018-11-21 22:58:06 +09:00
2018-11-12 14:50:06 +09:00
2018-11-19 16:24:41 +09:00
2019-01-14 15:29:29 -08:00
2019-01-14 15:29:29 -08:00
2018-11-06 12:56:29 +09:00
2019-01-04 13:33:34 -08:00
2018-10-19 13:34:07 +09:00
2019-01-04 13:33:33 -08:00
2018-12-10 15:41:09 +09:00
2018-11-13 14:22:02 +09:00
2018-11-06 12:49:59 +09:00
2018-09-21 09:51:19 -07:00
2018-09-21 09:51:19 -07:00
2018-09-21 09:51:19 -07:00
2018-10-19 13:34:02 +09:00
2018-11-14 15:10:35 +09:00
2019-01-04 13:33:33 -08:00
2018-10-15 12:53:15 +09:00
2018-11-18 18:23:53 +09:00
2018-10-19 13:34:02 +09:00
2019-01-04 13:33:33 -08:00
2019-01-18 13:49:57 -08:00
2019-01-14 15:29:28 -08:00
2018-09-21 09:48:11 -07:00
2018-10-26 14:22:13 +09:00
2018-11-19 16:24:41 +09:00
2018-11-06 12:56:29 +09:00
2018-11-06 12:56:29 +09:00
2019-01-14 15:29:28 -08:00
2018-11-19 10:50:33 +09:00
2018-11-13 22:37:17 +09:00
2019-01-14 15:29:28 -08:00
2018-11-02 11:04:55 +09:00
2018-11-06 12:56:29 +09:00
2018-11-12 14:50:06 +09:00
2018-11-19 10:50:33 +09:00
2019-01-27 16:28:18 -08:00
2018-10-15 12:53:15 +09:00
2019-01-04 13:33:33 -08:00
2019-01-14 15:29:31 -08:00
2019-01-14 15:29:31 -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
2018-11-12 14:50:06 +09:00
2019-01-04 13:33:33 -08:00
2018-11-21 22:58:00 +09:00
2019-01-04 13:33:31 -08:00
2018-09-24 10:30:52 -07:00
2019-01-18 13:49:57 -08:00
2018-12-01 21:41:42 +09:00
2019-01-04 13:33:33 -08:00
2019-01-04 13:33:33 -08:00
2019-01-14 15:29:31 -08:00
2018-11-13 22:37:23 +09:00
2019-01-04 13:33:33 -08:00
2018-12-15 12:24:33 +09:00
2018-11-06 12:56:29 +09:00
2018-11-06 12:56:29 +09:00
2018-12-26 15:41:47 -08:00
2019-01-18 13:49:53 -08:00
2018-11-06 12:56:29 +09:00
2019-01-27 16:28:18 -08:00
2018-10-26 10:17:59 +09:00
2019-01-07 09:26:33 -08:00