builtin/apply: move 'applied_after_fixing_ws' into 'struct apply_state'
commit7243f5f3507abe3d083ec18e44bc7cb464fa06f4
authorChristian Couder <christian.couder@gmail.com>
Tue, 24 May 2016 08:11:16 +0000 (24 10:11 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Jun 2016 17:10:16 +0000 (1 10:10 -0700)
treef4862cb5e49e9defb54a57c22d6d24b2040715bd
parent70e1d53df17bc8fa81f3583a50f76753a8bac154
builtin/apply: move 'applied_after_fixing_ws' into 'struct apply_state'

To libify the apply functionality the 'applied_after_fixing_ws' variable should
not be static and global to the file. Let's move it into
'struct apply_state'.

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