aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorJacob Keller <jacob.keller@gmail.com>2020-05-28 11:10:35 -0700
committerJunio C Hamano <gitster@pobox.com>2020-05-28 12:53:24 -0700
commite69fb0a16abb6412fa6c297cfe7ff43ba762a9b3 (patch)
tree6d29e95ad7fc973c9a70786130effd5953656879 /contrib/persistent-https
parentcompletion: add tests showing subpar DWIM logic for switch/checkout (diff)
downloadgit-e69fb0a16abb6412fa6c297cfe7ff43ba762a9b3.tar.gz
git-e69fb0a16abb6412fa6c297cfe7ff43ba762a9b3.zip
completion: add tests showing subar checkout --detach logic
When completing words for git switch, the completion function correctly disables the DWIM remote branch names when in the '--detach' mode. These DWIM remote branch names will not work when the --detach option is specified, so it does not make sense to complete them. git checkout, however, does not disable the completion of DWIM remote branch names in this case. Add test cases for both git switch and git checkout showing the expected behavior. Signed-off-by: Jacob Keller <jacob.keller@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions