diff options
author | Ludovic Courtès <[email protected]> | 2020-04-19 13:16:52 +0200 |
---|---|---|
committer | Ludovic Courtès <[email protected]> | 2020-04-19 13:27:06 +0200 |
commit | 3c91f003416c9fb79af2dc8766a7f449aa03f839 (patch) | |
tree | d3de0b084333922f70ef4f85c1c8ca11f77f0543 /tests/scripts-build.scm | |
parent | 0639a24038bb1c66db7b82c08e4cc3bf7012aa0a (diff) |
tests: Invoke 'git' with a custom '.gitconfig' and ignore the system config.
Fixes <https://bugs.gnu.org/37679>.
Reported by Gábor Boskovits <[email protected]>.
* guix/tests/git.scm (call-with-environment-variables): New procedure.
(with-environment-variables): New macro.
(populate-git-repository)[git]: Wrap (git-command) invocation in
'call-with-temporary-directory' and 'with-environment-variables'.
Diffstat (limited to 'tests/scripts-build.scm')
0 files changed, 0 insertions, 0 deletions