patman: Suppress duplicate signoffs only for real patches
PATCH 1/1 patman: Suppress duplicate signoffs only for real patches
There is an unfortunate bug in the signoff suppression logic. The first pass is performed with 'git log', and all signoffs are added to the supression set, such that the second time (when processing the real patches) we always suppress the signoffs.
Correct this by only suppressing signoffs in the second pass.
---
tools/patman/patchstream.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
tools/patman/patchstream.py +2 -1
@@ -275,7 +275,8 @@ class PatchStream: # Suppress duplicate signoffs elif signoff_match: - if self.commit.CheckDuplicateSignoff(signoff_match.group(1)): + if (self.is_log or + self.commit.CheckDuplicateSignoff(signoff_match.group(1))): out = [line] # Well that means this is an ordinary line
Signature · 1 line
1.9.1.423.g4596e3a
PATCH 1/1 patman: Suppress duplicate signoffs only for real patches
Quoted 8 lines · Simon Glass
There is an unfortunate bug in the signoff suppression logic. The first pass is performed with 'git log', and all signoffs are added to the supression set, such that the second time (when processing the real patches) we always suppress the signoffs.
Correct this by only suppressing signoffs in the second pass.
Signed-off-by Simon Glass <[email protected]>
I have seen the same problem as Masahiro.
Thanks,
Michal
Signature · 14 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/ Maintainer of Linux kernel - Xilinx Zynq ARM architecture Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 263 bytes Desc: OpenPGP digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140515/9d36a571/attachment.pgp>
PATCH 1/1 patman: Suppress duplicate signoffs only for real patches
In reply to Simon GlassQuoted 8 lines · Simon Glass
There is an unfortunate bug in the signoff suppression logic. The first pass is performed with 'git log', and all signoffs are added to the supression set, such that the second time (when processing the real patches) we always suppress the signoffs.
Correct this by only suppressing signoffs in the second pass.
Signed-off-by Simon Glass <[email protected]>
should be applied ASAP. Patman is a really useful tool but unusable without this patch.