patman: Suppress duplicate signoffs only for real patches
authorSimon Glass <sjg@chromium.org>
Tue, 13 May 2014 18:14:02 +0000 (12:14 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 16 May 2014 18:42:29 +0000 (11:42 -0700)
commit6be6b6bcbac62e356d05bdde488fc9f0eef7084a
tree152292e392626c11299ba4842cc7fc7dacb03f87
parent2dabac1337facbdef20d1a9bf54b68225d2518dc
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>
tools/patman/patchstream.py