From: Guido Günther Date: Fri, 2 Jul 2010 17:52:47 +0000 (+0200) Subject: Add extra_env to GitTag X-Git-Tag: debian/0.5.0~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c210382475f64b735a46513c0661011229436967;p=tools%2Fgit-buildpackage.git Add extra_env to GitTag Git-Dch: Ignore --- diff --git a/gbp/command_wrappers.py b/gbp/command_wrappers.py index 6a0edc8..f500eee 100644 --- a/gbp/command_wrappers.py +++ b/gbp/command_wrappers.py @@ -288,8 +288,8 @@ class GitTag(GitCommand): class GitAdd(GitCommand): """Wrap git add to add new files""" - def __init__(self): - GitCommand.__init__(self, 'add') + def __init__(self, extra_env=None): + GitCommand.__init__(self, 'add', extra_env=extra_env) self.run_error = "Couldn't add files"