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

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

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/apply.c