From: Nguyễn Thái Ngọc Duy Date: Thu, 20 Jun 2019 09:55:22 +0000 (+0700) Subject: completion: disable dwim on "git switch -d" X-Git-Tag: v2.23.0-rc0~64^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/97ed685701a6df0273f7d29fd5bc0a0658a63cad?hp=97ed685701a6df0273f7d29fd5bc0a0658a63cad 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 Signed-off-by: Junio C Hamano ---