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

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