[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/06: tests: git: Write files as UTF-8.
From: |
guix-commits |
Subject: |
01/06: tests: git: Write files as UTF-8. |
Date: |
Tue, 9 Aug 2022 11:59:36 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit e1b8bace8cf26fb7aa32614241917832b4225b44
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Aug 9 15:58:14 2022 +0200
tests: git: Write files as UTF-8.
* guix/tests/git.scm (populate-git-repository): Add call to
'set-port-encoding!' in 'add' case.
---
guix/tests/git.scm | 1 +
1 file changed, 1 insertion(+)
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
- branch master updated (fdafd40432 -> f194df2bb4), guix-commits, 2022/08/09
- 01/06: tests: git: Write files as UTF-8.,
guix-commits <=
- 02/06: channels: Consider news files as UTF-8-encoded by default., guix-commits, 2022/08/09
- 03/06: gnu: wrap-python3: Clarify relationship with wrapped package., guix-commits, 2022/08/09
- 04/06: services: qemu-guest-agent: Fix arguments to qemu-ga., guix-commits, 2022/08/09
- 06/06: gnu: vorta: Update to 0.8.7., guix-commits, 2022/08/09
- 05/06: tests: Add qemu-guest-agent system test., guix-commits, 2022/08/09