On Sat, Mar 03, 2012 at 12:05:05AM -0800, Junio C Hamano wrote: >Tom Grennan <tmgrennan@xxxxxxxxx> writes: > >> test_expect_success 'confuses pattern as remote when no remote specified' ' >> + '" >> + cat >exp <<-EOF >> + fatal: 'refs*master' does not appear to be a git repository >> + fatal: The remote end hung up unexpectedly >> + EOF >> + "' > >Please make it a habit to make your test script a cascade of &&, i.e. > > ... remote specified' ' > cat >exp <<-\EOF && > fatal: '\''refs*master'\'' does not ... > ... > EOF > >No need to resend; I'll fix it up locally. > Oops, I missed the && on that one. What about the quoting of t6300's, cat >expected <<\EOF 'refs/heads/master' 'Mon Jul 3 17:18:43 2006 +0200' 'Mon Jul 3 17:18:44 2006 +0200' 'refs/tags/testtag' 'Mon Jul 3 17:18:45 2006 +0200' EOF Do you want it like this, cat >expected <<-EOF && '\''refs/heads/master'\'' '\''Mon Jul 3 17:18:43 2006 +0200'\'' '\''Mon Jul 3 17:18:44 2006 +0200'\'' '\''refs/tags/testtag'\'' '\''Mon Jul 3 17:18:45 2006 +0200'\'' EOF or, cat >expected <<-EOF && '"'refs/heads/master' 'Mon Jul 3 17:18:43 2006 +0200' 'Mon Jul 3 17:18:44 2006 +0200'"' '"'refs/tags/testtag' 'Mon Jul 3 17:18:45 2006 +0200'"' EOF or something else? Thanks, TomG -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html