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

To libify the apply functionality the 'ws_ignore_action' 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