]> git.ipfire.org Git - thirdparty/git.git/commit - Documentation/config/advice.txt
Merge branch 'jc/checkout-detach-wo-tracking-report'
authorJunio C Hamano <gitster@pobox.com>
Fri, 12 Apr 2024 18:31:39 +0000 (11:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Apr 2024 18:31:39 +0000 (11:31 -0700)
commit847af43a3afb39394d5fe58192f94b993ca18f9f
tree178ed69067b4dc0a824eacd0987dbfdfb8bbf2ec
parentd8800f630a55264c11693d665846c96caa5a4d1c
parentb9f2e1a684e3729b0278950cd7e930441d84c9f1
Merge branch 'jc/checkout-detach-wo-tracking-report'

"git checkout/switch --detach foo", after switching to the detached
HEAD state, gave the tracking information for the 'foo' branch,
which was pointless.

Tested-by: M Hickford <mirth.hickford@gmail.com>
cf. <CAGJzqsmE9FDEBn=u3ge4LA3ha4fDbm4OWiuUbMaztwjELBd7ug@mail.gmail.com>

* jc/checkout-detach-wo-tracking-report:
  checkout: omit "tracking" information on a detached HEAD
builtin/checkout.c