Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'bd/tests'
[gitweb.git]
/
config.c
diff --git
a/config.c
b/config.c
index 0e22c7a6423c211b2e2a95b0535b85dc9f234a1f..e42ada78f8b10e7fb5600a6c99f81f27accd42fa 100644
(file)
--- a/
config.c
+++ b/
config.c
@@
-698,7
+698,7
@@
static int store_write_section(int fd, const char* key)
if (dot) {
strbuf_addf(&sb, "[%.*s \"", (int)(dot - key), key);
for (i = dot - key + 1; i < store.baselen; i++) {
- if (key[i] == '"')
+ if (key[i] == '"'
|| key[i] == '\\'
)
strbuf_addch(&sb, '\\');
strbuf_addch(&sb, key[i]);
}