Merge branch 'cw/no-detaching-an-unborn' into maint
authorJunio C Hamano <gitster@pobox.com>
Sun, 22 Jul 2012 20:00:31 +0000 (13:00 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 22 Jul 2012 20:00:32 +0000 (13:00 -0700)
"git checkout --detach", when you are still on an unborn branch,
should be forbidden, but it wasn't.

* cw/no-detaching-an-unborn:
  git-checkout: disallow --detach on unborn branch

1  2 
builtin/checkout.c

Simple merge