Package: git-buildpackage
Version: 0.5.17
Tags: patch

Hi again,

Currently git import-dsc sets the committer date on commits it writes
to equal the author date.  That means it is very easy to get
out-of-order commit timestamps, which are a bad thing™. [1]

But more important to me is the following:

        Suppose Bob makes a repo based on the Debian revision history of
        pkg, in 2002.

        Independently, Alice makes such a repo in 2007.

        Naturally, the two repos are unlikely to be identical ---
        details of tools might have changed, they might track upstream
        history in a different way, and some intermediate Debian revs
        might have been unearthed or lost to time.

        Now I look at these two repos and see some discrepancies and
        would like to figure out what happen.

In other words, to my taste the date committed to git is worth
remembering.  What do you think?

Of course it might also be easy to convince me otherwise. :)

Regards,
Jonathan

[1] http://article.gmane.org/gmane.comp.version-control.git/145544

diff --git a/git-import-dsc b/git-import-dsc
index 0c56eda..409e345 100755
--- a/git-import-dsc
+++ b/git-import-dsc
@@ -109,8 +109,7 @@ def apply_debian_patch(repo, unpack_dir, src, options, 
parents):
                                  other_parents = parents,
                                  author = author,
                                  email = email,
-                                 date = date,
-                                 commit_date = date)
+                                 date = date)
         gitTag(build_tag(options.debian_tag, version),
                msg="Debian release %s" % version, commit=commit)
     except gbpc.CommandExecFailed:



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to