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

draenog draenog at pld-linux.org
Tue Nov 10 03:32:53 CET 2015


commit 1b6b8dc355d16bc8a8081c3a667c9ea90a0910b7
Author: Kącper Kornet <draenog at pld-linux.org>
Date:   Tue Nov 10 02:29:38 2015 +0000

    - fix treatment of problems with encoding in .gitconfig

 git-core-slug-git.patch | 12 ++++++++++++
 git-core-slug.spec      |  2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/git-core-slug.spec b/git-core-slug.spec
index 156433e..8888e43 100644
--- a/git-core-slug.spec
+++ b/git-core-slug.spec
@@ -3,7 +3,7 @@ Summary:	Tools to interact with PLD git repositories
 Summary(pl.UTF-8):	Narzędzia do pracy z repozytoriami gita w PLD
 Name:		git-core-slug
 Version:	0.13.4
-Release:	12
+Release:	13
 License:	GPL v2
 Group:		Development/Building
 Source0:	https://github.com/draenog/slug/tarball/v%{version}/%{name}-%{version}.tar.gz
diff --git a/git-core-slug-git.patch b/git-core-slug-git.patch
index 2da8b87..7a8b80a 100644
--- a/git-core-slug-git.patch
+++ b/git-core-slug-git.patch
@@ -312,3 +312,15 @@ index 69bd3b9..17a67e7 100755
  
  checkout =subparsers.add_parser('checkout', help='checkout repositories', parents=[common_fetchoptions],
          formatter_class=argparse.RawDescriptionHelpFormatter)
+diff --git a/slug.py b/slug.py
+index 69bd3b9..9238cc9 100755
+--- a/slug.py
++++ b/slug.py
+@@ -65,7 +65,6 @@ class ThreadFetch(threading.Thread):
+ 
+ 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/packages/git-core-slug.git/commitdiff/1b6b8dc355d16bc8a8081c3a667c9ea90a0910b7



More information about the pld-cvs-commit mailing list