]> git.ipfire.org Git - thirdparty/git.git/commitdiff
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)
"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"

1  2 
builtin/checkout.c

Simple merge