builtin/apply: move 'p_context' global into 'struct apply_state'
authorChristian Couder <redacted>
Tue, 24 May 2016 08:11:04 +0000 (10:11 +0200)
committerJunio C Hamano <redacted>
Wed, 1 Jun 2016 17:10:16 +0000 (10:10 -0700)
commita48f9bb1b31329b29eed9808844c147f613b59ad
treee6b94d3efaf318318da6801f4a6cb337ae345f27
parenta0bfaf0796e416bb1cecd03e30af3e189a039a29
builtin/apply: move 'p_context' global into 'struct apply_state'

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