Subject: [bug#54293] [WIP] home: Add home-git-service-type

From: Maxime Devos <[email-masked]>
Date: Mon, 07 Mar 2022 18:58:26 +0100

宋文武 schreef op ma 07-03-2022 om 22:51 [+0800]:
> +           (for-each
> +            (match-lambda
> +              ((key value)
> +               (simple-format #t "\t~a = ~s~%" key value)))

What if I want to set the key 'bar' to the value 'foo bar ' (without
teh quotes, but with the trailing space)?  If I do ‘git config
'foo.bar' "foo bar "’, then the following is added to .git/config:

[foo]
        bar = "foo bar "

so it seems that some escaping may be necessary.

Also, what character encoding does git expect .git/config expect it to
be in?  UTF-8, whatever the current locale's encoding is, ...?

Greetings,
Maxime.