Add extra_env to GitTag
authorGuido Günther <agx@sigxcpu.org>
Fri, 2 Jul 2010 17:52:47 +0000 (19:52 +0200)
committerGuido Günther <agx@sigxcpu.org>
Sun, 4 Jul 2010 14:52:24 +0000 (16:52 +0200)
Git-Dch: Ignore

gbp/command_wrappers.py

index 6a0edc8..f500eee 100644 (file)
@@ -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"