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

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