From: Jeff King Date: Tue, 11 Jan 2011 06:55:09 GMT Subject: Re: bug? in checkout with ambiguous refnames Message-ID: <20110111065509.GG10094@sigill.intra.peff.net> In-Reply-To: <20110107195417.GC6175@sigill.intra.peff.net> On Fri, Jan 07, 2011 at 02:54:17PM -0500, Jeff King wrote: > +test_expect_success 'checkout reports switch to detached HEAD' ' > + grep "Switched to branch" stderr && > + ! grep "^HEAD is now at" stderr Junio, one minor fixup here. The test is correct, but the description should read "checkout reports switch to branch", not "...detached HEAD". I had originally written the test the other way and forgot to update the description when I tweaked it. The error is in my ambiguity test, but got cut-and-pasted to your vagueness test, too. -Peff