t0027: add tests for get_stream_filter()
commit320d39cdb075896804868cc8b1ca834a04ffdd8f
authorTorsten Bögershausen <tboegi@web.de>
Fri, 5 Feb 2016 16:13:20 +0000 (5 17:13 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 Feb 2016 17:51:10 +0000 (8 09:51 -0800)
treefa86daf9453cbdd4087a66746f3aa2a3b7180228
parent05f1539b7fb4809a406feaa8434bc2c58155d13d
t0027: add tests for get_stream_filter()

When a filter is configured, a different code-path is used in convert.c
and entry.c via get_stream_filter(), but there are no test cases yet.

Add tests for the filter API by configuring the ident filter.
The result of the SHA1 conversion is not checked, this is already
done in other TC.

Add a parameter to checkout_files() in t0027.
While changing the signature, add another parameter for the eol= attribute.
This is currently unused, tests for e.g.
"* text=auto eol=lf" will be added in a separate commit.

Signed-off-by: Torsten Bögershausen <tboegi@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0027-auto-crlf.sh