From 24a7f944264b452d9528a457bbc898c77f7b17b1 Mon Sep 17 00:00:00 2001 From: Catalin Marinas Date: Sat, 12 Sep 2009 00:04:07 +0100 Subject: [PATCH] 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 --- stgit/commands/imprt.py | 1 + 1 file changed, 1 insertion(+) 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() -- 2.11.0