convert.c: use text_eol_is_crlf()
commit4b4024f5ddca2ac14c2b15158d7cca888a8ae25e
authorTorsten Bögershausen <tboegi@web.de>
Fri, 5 Feb 2016 16:13:25 +0000 (5 17:13 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 Feb 2016 18:02:12 +0000 (8 10:02 -0800)
treee0f117787f8c3dcce9c88be39d2d8c8d8c3fb684
parentbb211b4de83b7cbc93049bc0d73883083a6a8b0b
convert.c: use text_eol_is_crlf()

Add a helper function to find out, which line endings text files
should get at checkout, depending on core.autocrlf and core.eol
configuration variables.

Signed-off-by: Torsten Bögershausen <tboegi@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
convert.c