Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Weird behavior of shell variables in git aliases

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:50:51

Lasse Makholm [off-list ref] writes:
Whlie we're at it, is "sh -c ... -" and "sh -c ... --" equally
portable, I wonder?
I suspect anything would work, but it is customary to pass the dummy $0 by
writing "-" there.  People who breathe shells would be able to recognize
the idiom more easily if you stick to that well-known form.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help