{"thread":{"id":"11716","subject":"[StGit PATCH] Don't keep old committer when rewriting a commit","startedAt":"2008-01-24T08:09:35Z","lastAt":"2008-01-24T08:09:35Z","messageCount":1,"participants":["Karl Hasselström"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"66462","messageId":"20080124080912.25671.67795.stgit@yoghurt","threadId":"11716","inReplyTo":null,"subject":"[StGit PATCH] Don't keep old committer when rewriting a commit","fromName":"Karl Hasselström","fromEmail":"kha@treskal.com","sentAt":"2008-01-24T08:09:35Z","receivedAt":"2008-01-24T08:09:35Z","isPatch":true,"sender":{"key":"kha@treskal.com","avatar":"https://gravatar.com/avatar/f0120c734b5279b345075a28521e1ac66acb20c9913ffe9bf6ae97e53f7f3f13?d=mp&s=160"},"body":"Signed-off-by: Karl Hasselström <kha@treskal.com>\n\n---\n\nI think this is what the old infrastructure does too.\n\n stgit/lib/transaction.py |    1 +\n 1 files changed, 1 insertions(+), 0 deletions(-)\n\n\ndiff --git a/stgit/lib/transaction.py b/stgit/lib/transaction.py\nindex a60c5ff..809eabf 100644\n--- a/stgit/lib/transaction.py\n+++ b/stgit/lib/transaction.py\n@@ -176,6 +176,7 @@ class StackTransaction(object):\n         conflicts to them.\"\"\"\n         i = self.unapplied.index(pn)\n         cd = self.patches[pn].data\n+        cd = cd.set_committer(None)\n         s = ['', ' (empty)'][cd.is_nochange()]\n         oldparent = cd.parent\n         cd = cd.set_parent(self.__head)\n"}]}