]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jc/checkout-switch-restore'
authorJunio C Hamano <gitster@pobox.com>
Fri, 27 Feb 2026 23:11:51 +0000 (15:11 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Feb 2026 23:11:51 +0000 (15:11 -0800)
commitc33b464dfdc5b3d2ebfefbc497efb4f30e369e18
treefb7c86bc62c3747970dcee7f92ac1f3cd0ca1281
parentce4530ac10eecfcd80bd54c6993f2279a377e193
parent12fee11f21e9b63626da5058fa055f95d55a5515
Merge branch 'jc/checkout-switch-restore'

"git switch <name>", in an attempt to create a local branch <name>
after a remote tracking branch of the same name gave an advise
message to disambiguate using "git checkout", which has been
updated to use "git switch".

* jc/checkout-switch-restore:
  checkout: tell "parse_remote_branch" which command is calling it
  checkout: pass program-readable token to unified "main"
builtin/checkout.c