diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-04-19 13:16:52 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-04-19 13:27:06 +0200 |
commit | 3c91f003416c9fb79af2dc8766a7f449aa03f839 (patch) | |
tree | d3de0b084333922f70ef4f85c1c8ca11f77f0543 /gnu/packages | |
parent | 0639a24038bb1c66db7b82c08e4cc3bf7012aa0a (diff) | |
download | patches-3c91f003416c9fb79af2dc8766a7f449aa03f839.tar patches-3c91f003416c9fb79af2dc8766a7f449aa03f839.tar.gz |
tests: Invoke 'git' with a custom '.gitconfig' and ignore the system config.
Fixes <https://bugs.gnu.org/37679>.
Reported by Gábor Boskovits <boskovits@gmail.com>.
* 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 'gnu/packages')
0 files changed, 0 insertions, 0 deletions