aboutsummaryrefslogtreecommitdiff
path: root/gbp/git/repository.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2012-04-15 19:04:48 +0200
committerGuido Günther <agx@sigxcpu.org>2012-04-15 19:04:48 +0200
commitd1ed77af37836c7e6c4ee412f576db98d2abe2fc (patch)
tree4620c529df84444cccebe69e72c2ba232f5dc10e /gbp/git/repository.py
parent407dfa157d8fabca4dac89e207b713503d594c1d (diff)
Ignore locale when checking for a clean repository
Closes: #668896
Diffstat (limited to 'gbp/git/repository.py')
-rw-r--r--gbp/git/repository.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/git/repository.py b/gbp/git/repository.py
index f342d46c..3df91fcd 100644
--- a/gbp/git/repository.py
+++ b/gbp/git/repository.py
@@ -559,7 +559,7 @@ class GitRepository(object):
return (True, '')
clean_msg = 'nothing to commit'
- out, ret = self._git_getoutput('status')
+ out, ret = self._git_getoutput('status', extra_env={'LC_ALL': 'C'})
if ret:
raise GbpError("Can't get repository status")
ret = False