From: Aaron Schrab <aaron@schrab.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Mikael Magnusson <mikachu@gmail.com>,
David Aguilar <davvid@gmail.com>, git <git@vger.kernel.org>,
Adri Farr <14farresa@gmail.com>
Subject: Re: difftool: honor --trust-exit-code for builtin tools
Date: Mon, 17 Nov 2014 17:15:37 -0500 [thread overview]
Message-ID: <20141117221536.GG615@pug.qqx.org> (raw)
In-Reply-To: <xmqq4mtz10ef.fsf@gitster.dls.corp.google.com>
At 10:11 -0800 16 Nov 2014, Junio C Hamano <gitster@pobox.com> wrote:
>It does not have any significance that a random shell implementation
>is not POSIX compliant. That would merely mean that such a shell
>cannot be used to run POSIX shell scripts like our Porcelain.
Right, and I suspect that it's very rare for zsh to be used as /bin/sh.
I've heard of people doing it just to see what would fail, but not of
anybody doing that for regular use.
>I would suspect that zsh has more "posixly correct" mode, with which
>it _can_ run POSIX shell scripts, and I would imagine that this
>"$status is an alias $?" business is disabled in that mode?
Yes, if zsh is invoked as either "sh" or "ksh" it attempts to emulate
the usual semantics of the named shell. One of the differences is that
$status isn't special in the emulation modes.
next prev parent reply other threads:[~2014-11-17 22:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-14 21:33 [PATCH] difftool: honor --trust-exit-code for builtin tools David Aguilar
2014-11-14 21:51 ` Junio C Hamano
2014-11-14 21:57 ` David Aguilar
2014-11-16 1:51 ` Mikael Magnusson
2014-11-16 2:36 ` David Aguilar
2014-11-16 18:11 ` Junio C Hamano
2014-11-17 22:15 ` Aaron Schrab [this message]
2014-11-16 8:18 ` Andreas Schwab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141117221536.GG615@pug.qqx.org \
--to=aaron@schrab.com \
--cc=14farresa@gmail.com \
--cc=davvid@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=mikachu@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).