diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2020-03-25 05:41:17 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-03-25 10:12:46 -0700 |
commit | 6c72121c346eb8999171585e50d6791a0dbc97fb (patch) | |
tree | 203c0bf9056a93edd930d70891a01d69ffbb334e /repository.h | |
parent | Git 2.26 (diff) | |
download | tgif-6c72121c346eb8999171585e50d6791a0dbc97fb.tar.xz |
tests(gpg): allow the gpg-agent to start on Windows
In Git for Windows' SDK, we use the MSYS2 version of OpenSSH, meaning
that the `gpg-agent` will fail horribly when being passed a `--homedir`
that contains colons.
Previously, we did pass the Windows version of the absolute path,
though, which starts in the drive letter followed by, you guessed it, a
colon.
Let's use the same trick found elsewhere in our test suite where `$PWD`
is used to refer to the pseudo-Unix path (which works only within the
MSYS2 Bash/OpenSSH/Perl/etc, as opposed to `$(pwd)` which refers to the
Windows path that `git.exe` understands, too).
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'repository.h')
0 files changed, 0 insertions, 0 deletions