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

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