Thread (1 message) 1 message, 1 author, 2018-05-03

Re: Blame / annotate with mixed mac line endings?

From: Junio C Hamano <hidden>
Date: 2018-05-03 04:56:00

"Jason Pyeron" [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help