pre-upload: allow more tags in cherry picked patches
The pre-upload check generates false positives on cherry picked patches
created by 'git cherry-pick -x', as these patches have more tags than
the "Signed-off-by:" in the lat paragraph.
Those cherry picked patches can be identified by the presence of the
string '(cherry-picked from commit' in the last line.
With this change more tags are accepted in the last paragraph of the
cherry picked patches.
TEST=verified that proper error message is generated for different
inputs, and that valid tags do not trigger pre-submit errors any
Signed-off-by: Vadim Bendebury <email@example.com>
Reviewed-by: Guenter Roeck <firstname.lastname@example.org>
Reviewed-by: Dmitry Torokhov <email@example.com>
1 file changed