builtin/apply: move 'whitespace_option' into 'struct apply_state'
authorChristian Couder <redacted>
Tue, 24 May 2016 08:11:13 +0000 (10:11 +0200)
committerJunio C Hamano <redacted>
Wed, 1 Jun 2016 17:10:16 +0000 (10:10 -0700)
commit161fcbe9884466e95cf5b1c7cd22f64a16a24045
tree5ee5babcc5a568cf37b19e6ebf953c8748e3d98c
parent5460cd0b1000078846e2850eeaba3573965c1faf
builtin/apply: move 'whitespace_option' into 'struct apply_state'

This will enable further refactoring, and it is more coherent and
simpler if all the option_parse_*() functions are passed a
'struct apply_state' instance in opt->value.

Reviewed-by: Stefan Beller <redacted>
Signed-off-by: Christian Couder <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/apply.c
git clone https://git.99rst.org/PROJECT