From: Johan Herland Date: Sat, 20 Apr 2013 22:53:46 GMT Subject: Re: [PATCHv2 1/8] t2024: Add tests verifying current DWIM behavior of 'git checkout ' Message-ID: In-Reply-To: <20130420204449.GC8586@elie.Belkin> On Sat, Apr 20, 2013 at 10:44 PM, Jonathan Nieder wrote: > Johan Herland wrote: > >> The DWIM mode of checkout allows you to run "git checkout foo" when there is >> no existing local ref or path called "foo" and there is exactly one remote >> with a remote-tracking branch called "foo". > > Thanks for testing this. I'm surprised no one suggested a test since > v1.7.0-rc0~51^2~6 (2009-10-18). > > Maybe it would also be worthwhile to also test --no-guess? (c.f. > 46148dd7, 2009-10-18) [...] > Sane? Yes. Thanks! Will incorporate your suggestions into the next iteration. ...Johan -- Johan Herland, www.herland.net