]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jc/checkout-switch-restore' into next
authorJunio C Hamano <gitster@pobox.com>
Fri, 20 Feb 2026 19:42:09 +0000 (11:42 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Feb 2026 19:42:09 +0000 (11:42 -0800)
commita386d47625d33d4e9164c8e5bc440d4bacd7803d
tree1e2377695f9ed93f7aa24c27e089064b63b75b22
parent88c2fb76b8a35bffd2adc308640b85f26a4589ed
parent12fee11f21e9b63626da5058fa055f95d55a5515
Merge branch 'jc/checkout-switch-restore' into next

"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