aboutsummaryrefslogtreecommitdiffstats
path: root/commit-graph.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-10-16 10:12:59 +0200
committerTaylor Blau <me@ttaylorr.com>2024-10-16 17:00:49 -0400
commitb4b77ea280ab938200c826bf28f55657da6bf589 (patch)
tree6842e0bb15a0f4b99290153f15735afc2e16bb3b /commit-graph.c
parentt/lib-gitweb: test against the build version of gitweb (diff)
downloadgit-b4b77ea280ab938200c826bf28f55657da6bf589.tar.gz
git-b4b77ea280ab938200c826bf28f55657da6bf589.zip
t/lib-gpg: fix setup of GNUPGHOME in MinGW
In "t/lib-gpg.sh" we set up the "GNUPGHOME" environment variable to point to a test-specific directory. This is done by using "$PWD/gpghome" as value, where "$PWD" is the current test's trash directory. This is broken for MinGW though because "$PWD" will use Windows-style paths that contain drive letters. What we really want in this context is a Unix-style path, which we can get by using `$(pwd)` instead. It is somewhat puzzling that nobody ever hit this issue, but it may easily be that nobody ever tests on Windows with GnuPG installed, which would make us skip those tests. Adapt the code accordingly to fix tests using this library. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions