aboutsummaryrefslogtreecommitdiffhomepage
path: root/git-import-dsc
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-02-09 21:19:23 +0100
committerGuido Günther <agx@sigxcpu.org>2011-02-09 21:25:40 +0100
commit680821b93c007e056c8885fae6ccfd077ddb99a8 (patch)
tree722f41986afb57ec28904162b4af8c7209c1f2c5 /git-import-dsc
parent0212ccfbfcee55d61058cbe57e69f44510c39b6a (diff)
Simplify author and committer argument passing
to reduce the number of function arguments. Git-Dch: Ignore
Diffstat (limited to 'git-import-dsc')
-rwxr-xr-xgit-import-dsc10
1 files changed, 4 insertions, 6 deletions
diff --git a/git-import-dsc b/git-import-dsc
index 2a6ef006..4c774acb 100755
--- a/git-import-dsc
+++ b/git-import-dsc
@@ -107,12 +107,10 @@ def apply_debian_patch(repo, unpack_dir, src, options, parents):
"Imported Debian patch %s" % version,
branch = options.debian_branch,
other_parents = parents,
- author = author,
- email = email,
- date = date,
- committer_date = [None, date][options.author_committer_date],
- committer_name = [None, author][options.author_committer],
- committer_email = [None, email][options.author_committer],)
+ author=dict(name=author, email = email, date = date),
+ committer=dict(name=[None, author][options.author_committer],
+ email=[None, email][options.author_committer],
+ date=[None, date][options.author_committer_date]))
gitTag(build_tag(options.debian_tag, version),
msg="Debian release %s" % version, commit=commit)