Merge branch 'jk/maint-checkout-orphan-check-fix'
authorJunio C Hamano <gitster@pobox.com>
Sat, 28 Jul 2012 04:11:33 +0000 (21:11 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 28 Jul 2012 04:11:34 +0000 (21:11 -0700)
commit5000caa3069e8627abfaff49c65a7daeb81c17fa
treea12104039dfb1e55629a4fea6ecf61bf68355020
parentcdd159b2f56c9e69e37bbb8f5af301abd93e5407
parentadd416a6c05b580e005726f318463698d746384d
Merge branch 'jk/maint-checkout-orphan-check-fix'

"git checkout <branchname>" to come back from a detached HEAD state
incorrectly computed reachability of the detached HEAD, resulting in
unnecessary warnings.

* jk/maint-checkout-orphan-check-fix:
  checkout: don't confuse ref and object flags
builtin/checkout.c