builtin/apply: remove whitespace_option arg from set_default_whitespace_mode()
commit8bcba3d0d60d859c1494cdb59301cf84befcdfaa
authorChristian Couder <christian.couder@gmail.com>
Tue, 24 May 2016 08:11:14 +0000 (24 10:11 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Jun 2016 17:10:16 +0000 (1 10:10 -0700)
tree0b920748ea7220d88a6ca1891f81c6a6e7545f2e
parent161fcbe9884466e95cf5b1c7cd22f64a16a24045
builtin/apply: remove whitespace_option arg from set_default_whitespace_mode()

A previous change has move the whitespace_option variable from cmd_apply
into 'struct apply_state', so that we can now avoid passing it separately
to set_default_whitespace_mode().

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