]> git.ipfire.org Git - thirdparty/git.git/commit - convert.c
convert.c: remove input_crlf_action()
authorTorsten Bögershausen <tboegi@web.de>
Fri, 5 Feb 2016 16:13:23 +0000 (17:13 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 Feb 2016 18:01:40 +0000 (10:01 -0800)
commitbb211b4de83b7cbc93049bc0d73883083a6a8b0b
treebe4d08aee8be666573a62d8097d04d5fa14dbc72
parent92cce1355ed4d2eb674b0742b00cfa133a4a8d58
convert.c: remove input_crlf_action()

Integrate the code of input_crlf_action() into convert_attrs(),
so that ca.crlf_action is always valid after calling convert_attrs().
Keep a copy of crlf_action in attr_action, this is needed for
get_convert_attr_ascii().

Remove eol_attr from struct conv_attrs, as it is now used temporally.

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