Thread (15 messages) flat view 15 messages, 6 authors, 2016-06-15

Re: [PATCH/RFC] builtin-checkout: suggest creating local branch when appropriate to do so

From: Sverre Rabbelier <hidden>
Date: 2016-06-15 22:47:29

Heya,

On Mon, Oct 5, 2009 at 23:17, Johannes Schindelin
[off-list ref] wrote:
Actually, we should really think long and hard why we should not
automatically check out the local branch "next" in that case.  I mean,
really long and hard, and making sure to take user-friendliness into
account at least as much as simplicity of implementation.
If git was a little more interactive I'd say prompt the user, problem solved?

$ git checkout next
No such branch 'next', do you want to check out a local branch for
'origin/next' instead? [Y/n]

@jay: you assume that if there is more than one matching remote the
user is experienced (as they have multiple remotes) enough to know
what to do?

-- 
Cheers,

Sverre Rabbelier
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help