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