mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
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. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Michal Simek <monstr@monstr.eu> Tested-by: Andreas Bießmann <andreas.devel@googlemail.com>
This commit is contained in:
parent
2dabac1337
commit
6be6b6bcba
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue