Re: [PATCH 2/2] filter-branch: fail gracefully when a filter fails
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 6, 2007, 03:18 UTC
- Message-ID
- <Pine.LNX.4.64.0707060416460.4093@racer.site>
- In-Reply-To
- <468DB570.1090900@freedesktop.org>
Hi,
On Thu, 5 Jul 2007, Josh Triplett wrote:
> bash has "set -o pipefail", but that would require bash. However, you > could try setting pipefail, and ignoring any failure to set it; that > would give the more friendly behavior with bash, while still allowing > any /bin/sh in general.
I was aware of pipefail when I wrote that patch. However, I have zero interest in a "solution" which works on bash, but fails on other shells.
That is like allowing a precious few to overstep some serious line (and commuting them), but severely punish all others. And that's wrong. And to allow it to happen is wrong, too.
Ciao, Dscho