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

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