Commit 6be6b6bc authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarSimon Glass <>
Tested-by: default avatarMichal Simek <>
Tested-by: default avatarAndreas Bießmann <>
parent 2dabac13
......@@ -275,7 +275,8 @@ class PatchStream:
# Suppress duplicate signoffs
elif signoff_match:
if self.commit.CheckDuplicateSignoff(
if (self.is_log or
out = [line]
# Well that means this is an ordinary line
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment