aboutsummaryrefslogtreecommitdiffhomepage
path: root/git-import-dsc
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-01-11 07:27:15 +0100
committerGuido Günther <agx@sigxcpu.org>2011-01-11 07:47:13 +0100
commit5ca57cda04278ecc1e88740a4380179f3df5560f (patch)
treeef0cfc03184c0ca4ccde2d19aab1e69281c467b0 /git-import-dsc
parent03f3d75d43458978ecc375f7e16cfc8f35b5ae99 (diff)
git-import-dsc: also set the commit date to the changelog date
when importing old history. This makes sure we get proper sorting with e.g. gitk. Thanks: Rob Browning for the hint and explanation
Diffstat (limited to 'git-import-dsc')
-rwxr-xr-xgit-import-dsc3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-import-dsc b/git-import-dsc
index 409e3459..0c56eda2 100755
--- a/git-import-dsc
+++ b/git-import-dsc
@@ -109,7 +109,8 @@ def apply_debian_patch(repo, unpack_dir, src, options, parents):
other_parents = parents,
author = author,
email = email,
- date = date)
+ date = date,
+ commit_date = date)
gitTag(build_tag(options.debian_tag, version),
msg="Debian release %s" % version, commit=commit)
except gbpc.CommandExecFailed: