builtin/apply: move 'update_index' global into 'struct apply_state'
authorChristian Couder <redacted>
Tue, 24 May 2016 08:10:53 +0000 (10:10 +0200)
committerJunio C Hamano <redacted>
Wed, 1 Jun 2016 17:10:16 +0000 (10:10 -0700)
commit901f9c6d42dd9857ecdac76413014c1497d34614
treefc7ebfdf5232bf1d2e54bbb6148133c285380921
parent5cae882d27c99604bc654ea35102d17b178affdd
builtin/apply: move 'update_index' global into 'struct apply_state'

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