* [StGit PATCH] Don't keep old committer when rewriting a commit
@ 2008-01-24 8:09 Karl Hasselström
0 siblings, 0 replies; only message in thread
From: Karl Hasselström @ 2008-01-24 8:09 UTC (permalink / raw)
To: Catalin Marinas; +Cc: git
Signed-off-by: Karl Hasselström <kha@treskal.com>
---
I think this is what the old infrastructure does too.
stgit/lib/transaction.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/stgit/lib/transaction.py b/stgit/lib/transaction.py
index a60c5ff..809eabf 100644
--- a/stgit/lib/transaction.py
+++ b/stgit/lib/transaction.py
@@ -176,6 +176,7 @@ class StackTransaction(object):
conflicts to them."""
i = self.unapplied.index(pn)
cd = self.patches[pn].data
+ cd = cd.set_committer(None)
s = ['', ' (empty)'][cd.is_nochange()]
oldparent = cd.parent
cd = cd.set_parent(self.__head)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-01-24 8:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-24 8:09 [StGit PATCH] Don't keep old committer when rewriting a commit Karl Hasselström
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).