summaryrefslogtreecommitdiff
path: root/gbp/git
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2013-05-08 16:40:41 +0200
committerGuido Günther <agx@sigxcpu.org>2013-05-08 16:40:41 +0200
commitf4acd7ab8d7afcdb6254a99b7e22ab85d6239b99 (patch)
tree8665008b48d0317fc9ca51ed9353fe54ceafa1d0 /gbp/git
parentbd4398726ecd9b4363b95f9a0085e2ead85e5656 (diff)
GitRepository: Use LC_ALL=C when checking features
This fixes the doctest and also makes sure we use an up to date manpage. Thanks: Daniel Dehennin for the report
Diffstat (limited to 'gbp/git')
-rw-r--r--gbp/git/repository.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gbp/git/repository.py b/gbp/git/repository.py
index 740a3d0..ddabae5 100644
--- a/gbp/git/repository.py
+++ b/gbp/git/repository.py
@@ -190,6 +190,7 @@ class GitRepository(object):
args = GitArgs(command, '-m')
help, stderr, ret = self._git_inout('help',
args.args,
+ extra_env={'LC_ALL': 'C'},
capture_stderr=True)
if ret:
raise GitRepositoryError("Invalid git command '%s': %s"