summaryrefslogtreecommitdiff
path: root/name-hash.c
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2019-03-29 17:39:13 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-04-02 13:57:00 +0900
commitccb111b342f472d12baddbfa5b52810da1725ffd (patch)
treef681f552483efcf3253fb5fda5cc48b43b989c1b /name-hash.c
parentswitch: add short option for --detach (diff)
downloadtgif-ccb111b342f472d12baddbfa5b52810da1725ffd.tar.xz
switch: implicit dwim, use --no-guess to disable it
This is already the default in git-checkout. The real change in here is just minor cleanup. The main excuse is to explain why dwim is kept default. Contrary to detach mode that is easy to get into and confusing to get back out. Automatically creating a tracking branch often does not kick in as often (you would need a branch of the same name on a remote). And since the branch creation is reported clearly, the user should be able to undo/delete it if it's unwanted. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'name-hash.c')
0 files changed, 0 insertions, 0 deletions