diff options
author | brian m. carlson <bk2204@github.com> | 2020-02-20 02:24:11 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-20 13:05:43 -0800 |
commit | 588c70e10f3511f85110512da97b188f3c581e53 (patch) | |
tree | 999a4304984e5c7b92cc6563bcc8829d847eca18 /Documentation/git-switch.txt | |
parent | t1300: add test for urlmatch with multiple wildcards (diff) | |
download | tgif-588c70e10f3511f85110512da97b188f3c581e53.tar.xz |
t0300: add tests for some additional cases
There are some tricky cases in our credential helpers that we don't have
test cases for. To help prevent regressions, let's add some for these
cases:
* If there are multiple configured credential helpers, one without a
path and one with a path, we want to invoke both of them.
* If there are percent-encoded values in the URL, we handle them
properly.
* And finally, if there is a username in the remote URL, we want to
honor that over what the configuration tells us.
Finally, there's an additional case that we'd like to test for as well,
but that currently fails. In all other situations in our configuration,
we pick the last configuration setting that's provided. However, we
fail to do that for credential.username, where we pick the first setting
instead. Let's add a failing test that we have the consistent behavior
here, since that's the documented, expected behavior.
Signed-off-by: brian m. carlson <bk2204@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-switch.txt')
0 files changed, 0 insertions, 0 deletions