builtin/apply: move 'whitespace_option' into 'struct apply_state'
commit161fcbe9884466e95cf5b1c7cd22f64a16a24045
authorChristian Couder <christian.couder@gmail.com>
Tue, 24 May 2016 08:11:13 +0000 (24 10:11 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Jun 2016 17:10:16 +0000 (1 10:10 -0700)
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 <sbeller@google.com>
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/apply.c