builtin/apply: move 'apply_verbosely' global into 'struct apply_state'
commit5cae882d27c99604bc654ea35102d17b178affdd
authorChristian Couder <christian.couder@gmail.com>
Tue, 24 May 2016 08:10:52 +0000 (24 10:10 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Jun 2016 17:10:16 +0000 (1 10:10 -0700)
tree3cc48bc35a1bda29544c9118b3867b418fb41617
parent30b5ae4d41c7e5b5655fb0e737db4764a17033c0
builtin/apply: move 'apply_verbosely' global into 'struct apply_state'

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