Web lists-archives.com

[PATCH 0/3] checkout: allow -b/-B to work on a merge base




I noticed earlier that running

	$ git checkout -b test master...

would result in the following failure message:

	fatal: Not a valid object name: 'master...'.

I believe that this is a bug, so this patchset will allow this to succeed.

Denton Liu (3):
  t2018: cleanup in current test
  t2018: demonstrate checkout -b merge base bug
  checkout: allow -b/-B to work on a merge base

 builtin/checkout.c         |  4 ++-
 t/t2018-checkout-branch.sh | 52 +++++++++++++++++++-------------------
 2 files changed, 29 insertions(+), 27 deletions(-)

-- 
2.21.0.1033.g0e8cc1100c