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

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