We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2283f6 commit 1a0ab5bCopy full SHA for 1a0ab5b
1 file changed
git/config.py
@@ -452,7 +452,7 @@ def _read(self, fp: Union[BufferedReader, IO[bytes]], fpname: str) -> None:
452
e = None # None, or an exception.
453
454
def string_decode(v: str) -> str:
455
- if v and v[-1] == "\\":
+ if v and v.endswith("\\"):
456
v = v[:-1]
457
# END cut trailing escapes to prevent decode error
458
0 commit comments