parse-options: stop abusing 'callback' for lowlevel callbacks
commitbf3ff338a25b7353ec6d39d31e14d081be9e3471
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 27 Jan 2019 00:35:26 +0000 (27 07:35 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 28 Jan 2019 00:28:18 +0000 (27 16:28 -0800)
tree125e179fe673c3b09cebbdeb105d7049ddd97498
parentf62470c650e0db9536f32b9e1ecbe7d25f759031
parse-options: stop abusing 'callback' for lowlevel callbacks

Lowlevel callbacks have different function signatures. Add a new field
in 'struct option' with the right type for lowlevel callbacks.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/blame.c
builtin/merge.c
builtin/update-index.c
parse-options-cb.c
parse-options.c
parse-options.h