chiark / gitweb /
Don't set the default authdate if none specified
authorCatalin Marinas <catalin.marinas@gmail.com>
Thu, 20 Mar 2008 23:12:32 +0000 (23:12 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Thu, 20 Mar 2008 23:12:32 +0000 (23:12 +0000)
This way, we allow a patch editing to remove an existing date by not
specifying it.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/stack.py

index f1f75e49802ef0181597349e2aadb20d9cf03f8a..c2eb2de9e7292521a38fe1cbc4aaa17db3fe66ba 100644 (file)
@@ -793,8 +793,6 @@ class Series(PatchSet):
             author_name = patch.get_authname()
         if not author_email:
             author_email = patch.get_authemail()
-        if not author_date:
-            author_date = patch.get_authdate()
         if not committer_name:
             committer_name = patch.get_commname()
         if not committer_email: