diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2019-06-20 16:55:22 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-06-20 13:31:51 -0700 |
commit | 97ed685701a6df0273f7d29fd5bc0a0658a63cad (patch) | |
tree | 75b86aef84a29988f7311392a02124af3990908e /t/t2300-cd-to-toplevel.sh | |
parent | switch: allow to switch in the middle of bisect (diff) | |
download | tgif-97ed685701a6df0273f7d29fd5bc0a0658a63cad.tar.xz |
completion: disable dwim on "git switch -d"
Even though dwim is enabled by default, it will never be done when
--detached is specified. If you force "-d --guess" you will get an error
because --guess then implies -c which cannot be used with -d. So we can
disable dwim in "switch -d". It makes the completion list in this case a
bit shorter.
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 't/t2300-cd-to-toplevel.sh')
0 files changed, 0 insertions, 0 deletions