Re: [PATCHv2 1/8] t2024: Add tests verifying current DWIM behavior of 'git checkout <branch>'
- From
Johan Herland <johan@herland.net>
- Date
- Apr 20, 2013, 22:53 UTC
- Message-ID
- <CALKQrgcKErD79e_TKJ7yMjvQYE45gD=tT_g_ZqQmeLTPueMsrA@mail.gmail.com>
- In-Reply-To
- <20130420204449.GC8586@elie.Belkin>
On Sat, Apr 20, 2013 at 10:44 PM, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 11 quoted lines
> 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, <johan@herland.net> www.herland.net