Please refer to commit messages for details.
Rationale: this issue was standing in my way while working on my
--pathspec-from-file patches. Since this looks like an oversight, I decided
to fix it.
Alexandr Miloslavskiy (2):
parse_branchname_arg(): extract part as new function
checkout: die() on ambiguous tracking branches
builtin/checkout.c | 71 ++++++++++++++++++++++------------------
t/t2024-checkout-dwim.sh | 23 +++++++++++--
2 files changed, 60 insertions(+), 34 deletions(-)
base-commit: d9f6f3b6195a0ca35642561e530798ad1469bd41
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-477%2FSyntevoAlex%2F%230224(git)_deny_ambiguous_checkout-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-477/SyntevoAlex/#0224(git)_deny_ambiguous_checkout-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/477