[projects/git-slug] - fix treatment of problems with encoding in .gitconfig

atler atler at pld-linux.org
Sat Oct 2 17:30:54 CEST 2021


commit b8de233b0784a6b05b6ac5474e4ffbeb7990672c
Author: Kącper Kornet <draenog at pld-linux.org>
Date:   Tue Nov 10 03:29:38 2015 +0100

    - fix treatment of problems with encoding in .gitconfig

 slug.py | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/slug.py b/slug.py
index da4e575..4a089d7 100755
--- a/slug.py
+++ b/slug.py
@@ -62,7 +62,6 @@ def run_worker(function, options, args):
 
 def readconfig(path):
     config = UnquoteConfig(delimiters='=', interpolation=None, strict=False)
-    config.read(path)
     try:
         config.read(path)
     except UnicodeDecodeError:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/git-slug.git/commitdiff/587d77baada33d70204a8b58c18dc98508115c6f



More information about the pld-cvs-commit mailing list