builtin/apply: move 'numstat' global into 'struct apply_state'
authorChristian Couder <redacted>
Tue, 24 May 2016 08:10:57 +0000 (10:10 +0200)
committerJunio C Hamano <redacted>
Wed, 1 Jun 2016 17:10:16 +0000 (10:10 -0700)
commit179070b91c0ae1baf889f083596398a4f72286ea
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 <redacted>
Signed-off-by: Christian Couder <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/apply.c
git clone https://git.99rst.org/PROJECT