Re: Blame / annotate with mixed mac line endings?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 3, 2018, 04:55 UTC
- Message-ID
- <xmqqd0yduylh.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <8957C3B9BEF94443ABE0A67340786A86@ad.pdinc.us>
"Jason Pyeron" <jpyeron@pdinc.us> writes:
Show 5 quoted lines
> $ 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.