aboutsummaryrefslogtreecommitdiffhomepage
path: root/git-buildpackage
diff options
context:
space:
mode:
Diffstat (limited to 'git-buildpackage')
-rwxr-xr-xgit-buildpackage4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-buildpackage b/git-buildpackage
index 676129da..325b8cbc 100755
--- a/git-buildpackage
+++ b/git-buildpackage
@@ -80,7 +80,7 @@ def git_archive_submodules(repo, treeish, output, prefix, comp_type, comp_level,
shutil.rmtree(tempdir)
-def git_archive_single(repo, treeish, output, prefix, comp_type, comp_level, comp_opts):
+def git_archive_single(treeish, output, prefix, comp_type, comp_level, comp_opts):
"""
Create tar.gz of an archive without submodules
@@ -111,7 +111,7 @@ def git_archive(repo, cp, output_dir, treeish, comp_type, comp_level, with_submo
comp_type, comp_level, comp_opts)
else:
- git_archive_single(repo, treeish, output, prefix,
+ git_archive_single(treeish, output, prefix,
comp_type, comp_level, comp_opts)
except CommandExecFailed:
gbp.log.err("Error generating submodules' archives")