From: Catalin Marinas Date: Fri, 11 Sep 2009 23:04:07 +0000 (+0100) Subject: Preserve the given author date during import X-Git-Tag: v0.15-rc3~1 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/24a7f944264b452d9528a457bbc898c77f7b17b1 Preserve the given author date during import The import has two stages - one for creating the initial empty commit with the patch description followed by a refresh once the diff was successfully applied. The second refresh resets the author date to the current one. This patch passes the given author date to the refresh_patch function. Signed-off-by: Catalin Marinas --- diff --git a/stgit/commands/imprt.py b/stgit/commands/imprt.py index 0bbacbc..aa75065 100644 --- a/stgit/commands/imprt.py +++ b/stgit/commands/imprt.py @@ -158,6 +158,7 @@ def __create_patch(filename, message, author_name, author_email, strip = options.strip) crt_series.refresh_patch(edit = options.edit, show_patch = options.showdiff, + author_date = author_date, sign_str = options.sign_str, backup = False) out.done()