Re: [PATCH v5 4/4] convert.c: ident + core.autocrlf didn't work

2016-04-20 Thread Junio C Hamano
tbo...@web.de writes: > if (ca.drv && (ca.drv->smudge || ca.drv->clean)) > - return filter; > + return NULL; > > if (ca.ident) > filter = ident_filter(sha1); We allocated an ident-filter here... > - crlf_action = ca.crlf_action; > - > -

[PATCH v5 4/4] convert.c: ident + core.autocrlf didn't work

2016-04-19 Thread tboegi
From: Torsten Bögershausen When the ident attributes is set, get_stream_filter() did not obey core.autocrlf=true, and the file was checked out with LF. Change the rule when a streaming filter can be used: - if an external filter is specified, don't use a stream filter. - if the