Merge branch 'cw/no-detaching-an-unborn'
authorJunio C Hamano <gitster@pobox.com>
Mon, 9 Jul 2012 16:02:00 +0000 (09:02 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Jul 2012 16:02:00 +0000 (09:02 -0700)
commit45c96c0c8264975519c595afa37136c488f7017a
treeea8ca5666e267caed04623876fca75f7c1c1e4e2
parent967abba7169ad10eff841fe32b70f3e7a1126b63
parent8ced1aa08f9e1798b2b3fec41a0598ef79b477fe
Merge branch 'cw/no-detaching-an-unborn'

"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
builtin/checkout.c