Commit graph

2 commits

Author SHA1 Message Date
Robert Helgesson 22d03f20fb
git: escape string values in configuration
This should handle the special characters that typically occur.

Fixes #1206

(cherry picked from commit 642d9ffe24)
2020-05-20 23:44:29 +02:00
zimbatm 9a1feb5b10
git: fix the config output formatting
When setting values using the `git config --set` command, git formats
the file a bit differently. This changes the output so it maps to that
format.

Differences:

* each `key = value` in a section is prefixed by a tab character
* the `=` between the key and the value is surrounded by spaces

PR #1069
2020-03-07 12:02:20 +01:00