chiark
/
gitweb
/
~mdw
/
stgit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cd885e0
)
Don't keep old committer when rewriting a commit
author
Karl Hasselström
<kha@treskal.com>
Thu, 24 Jan 2008 06:17:58 +0000
(07:17 +0100)
committer
Karl Hasselström
<kha@treskal.com>
Thu, 24 Jan 2008 07:22:17 +0000
(08:22 +0100)
Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/lib/transaction.py
patch
|
blob
|
blame
|
history
diff --git
a/stgit/lib/transaction.py
b/stgit/lib/transaction.py
index a60c5ff62b2de498cc2ca00df3f49b5a03838ce5..809eabfd2682c1055015c38c49f03eba56df69f2 100644
(file)
--- 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
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)
s = ['', ' (empty)'][cd.is_nochange()]
oldparent = cd.parent
cd = cd.set_parent(self.__head)