diff options
author | Jacob Keller <jacob.keller@gmail.com> | 2020-05-28 11:10:35 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-05-28 12:53:24 -0700 |
commit | e69fb0a16abb6412fa6c297cfe7ff43ba762a9b3 (patch) | |
tree | 6d29e95ad7fc973c9a70786130effd5953656879 /Documentation/git-http-fetch.txt | |
parent | completion: add tests showing subpar DWIM logic for switch/checkout (diff) | |
download | tgif-e69fb0a16abb6412fa6c297cfe7ff43ba762a9b3.tar.xz |
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 'Documentation/git-http-fetch.txt')
0 files changed, 0 insertions, 0 deletions