switch: better names for -b and -B
commitb7b5fce2701c12895f75f8e716c629b45f105b0c
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Fri, 29 Mar 2019 10:39:06 +0000 (29 17:39 +0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Apr 2019 04:56:59 +0000 (2 13:56 +0900)
tree3c6547983d9d2d619167b5948e179f422f11cf8e
parentd787d311dbd7a4104a9dde23b90ae24528a15cf9
switch: better names for -b and -B

The shortcut of these options do not make much sense when used with
switch. And their descriptions are also tied to checkout. Move -b/-B
to cmd_checkout() and new -c/-C with the same functionality in
cmd_switch_branch()

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/checkout.c