summaryrefslogtreecommitdiff
path: root/hex.c
diff options
context:
space:
mode:
authorJacob Keller <jacob.keller@gmail.com>2020-05-28 18:10:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-05-28 19:53:24 (GMT)
commitb07d77a2baae626370be8ae35efd3ebaf9befbc2 (patch)
treeb6526d61476a5dc6d9a713422da276d3b08a9097 /hex.c
parentc55b99c3d3359debb8601b6f687c94deab59ad2d (diff)
downloadgit-b07d77a2baae626370be8ae35efd3ebaf9befbc2.zip
git-b07d77a2baae626370be8ae35efd3ebaf9befbc2.tar.gz
git-b07d77a2baae626370be8ae35efd3ebaf9befbc2.tar.bz2
completion: add tests showing subpar -c/-C startpoint completion
When using the branch creation argument for git switch or git checkout, -c/-C or -b/-B, the commands operate in a different mode: `git switch -c <branch> <some-reference>` means to create a branch named <branch> at the commit referred to by <some-reference>. When completing the start-point, we ought to always complete all valid references. Add tests for the completion of the start-point to -c/-C and -b/-B. Signed-off-by: Jacob Keller <jacob.keller@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'hex.c')
0 files changed, 0 insertions, 0 deletions