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. 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