git-patchwork-bot: retry patch generation with --histogram

When people send patches, their output will be dependent on their local
diff.algorithm setting. If they set it to something other than the
default ("myers"), we may fail to generate a matching patch from the
commit.

When we can't find a match, try to regenerate the patch using the
histogram algorithm and attempt the match again.

Reported-by: Jakub Kicinski <kuba@kernel.org>
Link: https://msgid.link/20230615100021.43d2d041@kernel.org
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
1 file changed