◐ 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: 1 addition & 1 deletion git/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ def string_decode(v: str) -> str:
is_multi_line = True
optval = string_decode(optval[1:])
elif len(optval) > 1 and optval[0] == '"' and optval[-1] == '"':
optval = optval[1:-1].strip()
# END handle multi-line
# Preserves multiple values for duplicate optnames.
cursect.add(optname, optval)
Expand Down
2 changes: 2 additions & 0 deletions test/fixtures/git_config_with_quotes_whitespace
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Loading
Toggle all file notes Toggle all file annotations