OSDN Git Service

Merge branch 'sb/checkout-explit-detach-no-advice'
authorJunio C Hamano <gitster@pobox.com>
Fri, 19 Aug 2016 22:34:15 +0000 (15:34 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Aug 2016 22:34:15 +0000 (15:34 -0700)
"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

1  2 
builtin/checkout.c

Simple merge