diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-10-21 21:33:45 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-10-22 15:33:40 +0200 |
commit | f2692db8d4fbbbd58fb082da36b8e5f4456985fe (patch) | |
tree | 18cac05a1f433e715edaec9a4a9ad36579450991 /gbp | |
parent | f4f122a56ab3c4e4f5a63771cb6ef309f1fccd9c (diff) |
Execute GitRepository._get_output default at self.path by default
Git-Dch: Ignore
Diffstat (limited to 'gbp')
-rw-r--r-- | gbp/git.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -56,6 +56,9 @@ class GitRepository(object): """exec a git command and return the output""" output = [] + if not cwd: + cwd = self.path + env = self.__build_env(extra_env) cmd = ['git', command] + args log.debug(cmd) |