◐ Shell
reader mode source ↗
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
File filter
Conversations
Jump to
Diff view
Apply and reload
Show whitespace
Diff view
Apply and reload
2 changes: 2 additions & 0 deletions git/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,8 @@ def string_decode(v: str) -> str:
if len(optval) > 1 and optval[0] == '"' and optval[-1] != '"':
is_multi_line = True
optval = string_decode(optval[1:])
# END handle multi-line
# Preserves multiple values for duplicate optnames.
cursect.add(optname, optval)
Expand Down
3 changes: 3 additions & 0 deletions test/fixtures/git_config_with_quotes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Loading
Toggle all file notes Toggle all file annotations