All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Nieder <jrnieder@gmail.com>
To: Thomas Rast <trast@student.ethz.ch>
Cc: Junio C Hamano <gitster@pobox.com>,
	Matthieu Moy <Matthieu.Moy@imag.fr>, Johannes Sixt <j6t@kdbg.org>,
	git@vger.kernel.org, Petr Onderka <gsvick@gmail.com>
Subject: Re: [PATCH v2] t0003: properly quote $HOME
Date: Mon, 18 Oct 2010 05:02:37 -0500	[thread overview]
Message-ID: <20101018100237.GB5641@burratino> (raw)
In-Reply-To: <b280c19ddc25f2f3a76d1871ed79906663daa802.1287392872.git.trast@student.ethz.ch>

Thomas Rast wrote:

>                                               This would be valid
> according to POSIX, but bash 4 helpfully declines to execute the
> command in question with an "ambiguous redirection" error.

For the benefit of those wondering why they never saw this problem,
even after using bash for a while: bash in POSIX mode (e.g. when
running as "sh") does not have the same problem.

Presumably that's why this problem was not noticed until on a platform
without bash as /bin/sh, in v1.7.0-rc1~30 (work around an obnoxious
bash "safety feature" on OpenBSD, 2010-01-26).

I still like the patch. :)

  reply	other threads:[~2010-10-18 10:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-17 19:13 [PATCH] t0003: properly quote $HOME Thomas Rast
2010-10-17 19:18 ` Jonathan Nieder
2010-10-17 19:34   ` Thomas Rast
2010-10-18  9:09     ` [PATCH v2] " Thomas Rast
2010-10-18 10:02       ` Jonathan Nieder [this message]
2010-10-17 19:37 ` [PATCH] " Matthieu Moy
2010-10-17 21:03 ` Johannes Sixt
2010-10-18 19:15 ` Junio C Hamano

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=20101018100237.GB5641@burratino \
    --to=jrnieder@gmail.com \
    --cc=Matthieu.Moy@imag.fr \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=gsvick@gmail.com \
    --cc=j6t@kdbg.org \
    --cc=trast@student.ethz.ch \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.