]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'am/checkout-file-and-ref-ref-ambiguity'
authorJunio C Hamano <gitster@pobox.com>
Wed, 5 Feb 2020 22:34:58 +0000 (14:34 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Feb 2020 22:34:58 +0000 (14:34 -0800)
"git checkout X" did not correctly fail when X is not a local
branch but could name more than one remote-tracking branches
(i.e. to be dwimmed as the starting point to create a corresponding
local branch), which has been corrected.

* am/checkout-file-and-ref-ref-ambiguity:
  checkout: don't revert file on ambiguous tracking branches
  parse_branchname_arg(): extract part as new function

1  2 
builtin/checkout.c

Simple merge