checkout --track: make up a sensible branch name if '-b' was omitted
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 9 Aug 2008 14:00:12 +0000 (16:00 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 Aug 2008 23:37:28 +0000 (16:37 -0700)
What does the user most likely want with this command?

$ git checkout --track origin/next

Exactly. A branch called 'next', that tracks origin's branch 'next'.
Make it so.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found