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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux