builtin/apply: move 'diffstat' global into 'struct apply_state'
authorChristian Couder <redacted>
Tue, 24 May 2016 08:10:56 +0000 (10:10 +0200)
committerJunio C Hamano <redacted>
Wed, 1 Jun 2016 17:10:16 +0000 (10:10 -0700)
commitc4f5c39862671e7de1ffca959220ef94385b1972
treecebbc13e6f81d47bf6a866cfe8d26250f69448a0
parent885eefb12d35e416e637a92d8a6e7ac17eefd5cc
builtin/apply: move 'diffstat' global into 'struct apply_state'

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