Merge branch 'sb/checkout-explit-detach-no-advice' into maint
commit7c96471947c680d884e0ec7ea4f1087d14496f55
authorJunio C Hamano <gitster@pobox.com>
Fri, 9 Sep 2016 04:35:54 +0000 (8 21:35 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 9 Sep 2016 04:35:54 +0000 (8 21:35 -0700)
tree1d6120feebea4c92e4d64cf3c83c364fdc33331c
parent69307312d1bee69d33151cee8ed5940c46d7ee39
parent779b88a91fb9719683bed78c81ef6ace1cedd7da
Merge branch 'sb/checkout-explit-detach-no-advice' into maint

"git checkout --detach <branch>" used to give the same advice
message as that is issued when "git checkout <tag>" (or anything
that is not a branch name) is given, but asking with "--detach" is
an explicit enough sign that the user knows what is going on.  The
advice message has been squelched in this case.

* sb/checkout-explit-detach-no-advice:
  checkout: do not mention detach advice for explicit --detach option