[StGit PATCH] Don't keep old committer when rewriting a commit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Karl Hasselström <kha@xxxxxxxxxxx>

---

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)

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux