On Mon, 15 Sep 2014 07:41:58 -0700 (PDT)
Pierre-Fran├žois CLEMENT <lik...@gmail.com> wrote:

> > Could we improve the error message for `git checkout -t`? Sometimes
> > I forget to type the remote name. Something like:
> >
> > "Missing remote or branch name; try -b"
[...]
> That said, here's the error I get
> when running *git-checkout -t* with no arguments using git v2.1.0 in
> case you have a different, more obscure one (due to an older version
> of git for instance):
> 
> $ git checkout -t
> fatal: --track needs a branch name

Same here with Git 1.9.1.

I beleive it's [1]; precisely this bit:

> * js/checkout-dwim-local (Sat Aug 9 16:00:12 2008 +0200) 1 commit
> + checkout --track: make up a sensible branch name if '-b' was
>   omitted

I'm lazy to search which first released version of Git this change ended
up but I'm sure it's already in.

1. http://permalink.gmane.org/gmane.comp.version-control.git/92596

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to