From: Jeff King Date: Sun, 15 Feb 2009 15:12:59 GMT Subject: Re: [PATCH] builtin-remote: better handling of multiple remote HEADs Message-ID: <20090215151259.GA15342@sigill.intra.peff.net> In-Reply-To: <76718490902150613i79517e6dwcec8e1e40c56bcc8@mail.gmail.com> On Sun, Feb 15, 2009 at 09:13:09AM -0500, Jay Soffian wrote: > >> + (cd test && > >> + test_must_fail git remote set-head --auto two >& output && > >> + test_cmp expect output) > > > > I missed it before, but there is a typo in this test (>&) that causes it > > to barf. > > Didn't barf for me, but it turns out it's because it's a bash'ism[1], > and that's the default /bin/sh on OS X. Out of curiosity, on what > platform did it fail for you? Ah, I didn't realize that was valid under any shell. ;) My /bin/sh is dash, which explains it. -Peff