builtin/apply: move 'symlink_changes' global into 'struct apply_state'
commit2f63cea963667d17271d96196b6ef1605790032a
authorChristian Couder <christian.couder@gmail.com>
Tue, 24 May 2016 08:11:22 +0000 (24 10:11 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Jun 2016 17:10:16 +0000 (1 10:10 -0700)
tree83bb0644651257fce08e7fc861314b9713805402
parent71dac5cef57daacb35a56b4b54e1a30bc6417968
builtin/apply: move 'symlink_changes' global into 'struct apply_state'

To libify the apply functionality the 'symlink_changes' variable should
not be static and global to the file. Let's move it into
'struct apply_state'.

Reviewed-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/apply.c