Re: Weird behavior of shell variables in git aliases
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Mar 22, 2011, 10:52 UTC
- Message-ID
- <AANLkTi=h4Upus2x4MTXXEX=PSrp-4xhEpzifsGXKycf5@mail.gmail.com>
- In-Reply-To
- <7v4o6wnlxm.fsf@alter.siamese.dyndns.org>
On Mon, Mar 21, 2011 at 23:33, Junio C Hamano <gitster@pobox.com> wrote:
> but it would penalize a properly written alias that uses "sh -c <it> -" > trick itself by double forking, which is not very nice and I am unhappy > about.
It would also be bizarre on Solaris where /bin/sh isn't a POSIX shell.
But we can substitute the relevant user-supplied shell during the build process.