guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Maxime Devos
Subject: [bug#54293] [WIP] home: Add home-git-service-type
Date: Mon, 07 Mar 2022 18:58:26 +0100
User-agent: Evolution 3.38.3-1

宋文武 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.

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]