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

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