From: Junio C Hamano Date: Thu, 03 May 2018 04:55:54 GMT Subject: Re: Blame / annotate with mixed mac line endings? Message-ID: In-Reply-To: <8957C3B9BEF94443ABE0A67340786A86@ad.pdinc.us> "Jason Pyeron" writes: > $ cat /usr/local/bin/helper.sh > cat "$1" | mac2unix > > The important issue was to not use mac2unix directly, because it > modifies the file itself. I wonder if [diff "test"] textconv = sh -c 'mac2unix <"$1"' -IAmArgv0- works without an extra helper.