From: Junio C Hamano Date: Mon, 08 Feb 2016 17:59:38 GMT Subject: Re: [PATCH v3 1/7] t0027: Add tests for get_stream_filter() Message-ID: In-Reply-To: <1454688800-20714-1-git-send-email-tboegi@web.de> tboegi@web.de writes: > From: Torsten Bögershausen > Subject: Re: [PATCH v3 1/7] t0027: Add tests for get_stream_filter() s/: Add/: add/ (no need to resend this) > 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 > --- > Changes since v2: > 1/7 t0027 uses ident instead of i (the empty "" is still there) Thanks, much easier to understand with that spelled out. And making "" a noop makes sense given the way this helper is called (i.e. it is fed "$ident" and "$attr" quoted in dq, and they could become empty string--it is not worth doing ${ident:+"$ident"} there).