diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-08-09 15:58:14 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-08-09 15:58:14 +0200 |
commit | e1b8bace8cf26fb7aa32614241917832b4225b44 (patch) | |
tree | 4af5c2692e9a99d8608d7f0126bf171fd2f542d5 | |
parent | fdafd404325413da4d5fdd717c84e57a51c60fe2 (diff) | |
download | guix-e1b8bace8cf26fb7aa32614241917832b4225b44.tar.gz guix-e1b8bace8cf26fb7aa32614241917832b4225b44.zip |
tests: git: Write files as UTF-8.
* guix/tests/git.scm (populate-git-repository): Add call to
'set-port-encoding!' in 'add' case.
-rw-r--r-- | guix/tests/git.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/tests/git.scm b/guix/tests/git.scm index 94f1021c79..d51e49e514 100644 --- a/guix/tests/git.scm +++ b/guix/tests/git.scm @@ -73,6 +73,7 @@ Return DIRECTORY on success." (mkdir-p (dirname file)) (call-with-output-file file (lambda (port) + (set-port-encoding! port "UTF-8") (display (if (string? contents) contents (with-repository directory repository |