Re: [PATCH 2/2] t0300: use write_script helper
- From
Jeff King <peff@peff.net>
- Date
- Feb 4, 2012, 07:00 UTC
- Message-ID
- <20120204070009.GA22188@sigill.intra.peff.net>
- In-Reply-To
- <7vd39vjda9.fsf@alter.siamese.dyndns.org>
On Fri, Feb 03, 2012 at 10:58:06PM -0800, Junio C Hamano wrote:
Show 13 quoted lines
> > diff --git a/t/t0300-credentials.sh b/t/t0300-credentials.sh > > index 885af8f..0b46248 100755 > > --- a/t/t0300-credentials.sh > > +++ b/t/t0300-credentials.sh > > @@ -14,14 +14,13 @@ test_expect_success 'setup helper scripts' ' > > done > > EOF > > > > - cat >git-credential-useless <<-\EOF && > > + write_script git-credential-useless <<-\EOF && > > #!/bin/sh > > An innocuous facepalm I'd be glad to remove myself ;-)
Heh, it took me a second to notice it, even after you mentioned it. And it's even right there in the context. At least the line written by write_script takes precedence. :)
Thanks.
-Peff