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

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