From 31d72cc702a0dda64cbe2c407c3a51410397599f Mon Sep 17 00:00:00 2001 From: Cole Hudson Date: Mon, 27 Jul 2020 11:40:13 -0500 Subject: [PATCH 1/2] fix for extra back slashes for windows UNC paths --- git/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git/config.py b/git/config.py index 43f854f21..828350125 100644 --- a/git/config.py +++ b/git/config.py @@ -419,6 +419,8 @@ def string_decode(v): optval = string_decode(optval[1:]) # end handle multi-line # preserves multiple values for duplicate optnames + # fix for extra back slashes so windows UNC paths are not mangled + optval = optval.replace('\\\\', '\\') cursect.add(optname, optval) else: # check if it's an option with no value - it's just ignored by git From e5b871033a41685cb7d7f1bb1ebe863df127a278 Mon Sep 17 00:00:00 2001 From: Cole Hudson Date: Mon, 27 Jul 2020 11:52:31 -0500 Subject: [PATCH 2/2] Added Cole Hudson to AUTHORS --- AUTHORS | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS b/AUTHORS index 2047a5032..4e5bf6fcb 100644 --- a/AUTHORS +++ b/AUTHORS @@ -42,4 +42,5 @@ Contributors are: -Harmon -Liam Beguin -Ram Rachum +-Cole Hudson Portions derived from other open source works and are clearly marked.