git: escape string values in configuration

This should handle the special characters that typically occur.

Fixes #1206
This commit is contained in:
Robert Helgesson 2020-05-01 00:11:14 +02:00
parent 8b82f52e75
commit 642d9ffe24
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
6 changed files with 42 additions and 30 deletions

View file

@ -1,3 +1,3 @@
[user]
email = user@example.org
name = John Doe
email = "user@example.org"
name = "John Doe"