[Patchew-devel] [PATCH v3 0/2] models: do not be fooled by diffstats in the message body
Paolo Bonzini
pbonzini at redhat.com
Wed Apr 17 06:18:23 UTC 2019
This series fixes two bugs:
1) the rename regex was too simple and subject to false positives
2) a diffstat in the message body would be erroneously interpreted as
the series diffstat.
(Resending because the patches, while conceptually separate, were not
bisectable: the testcase in the second patch adds a binary diff).
Paolo Bonzini (2):
models: refine diffstat regexes
models: stop diffstat extraction at "---" line
api/models.py | 17 ++--
tests/data/0008-complex-diffstat.mbox.gz | Bin 4961 -> 2575 bytes
tests/data/0029-diffstat-in-patch.gz | Bin 0 -> 13474 bytes
tests/test_model.py | 108 ++++++-----------------
4 files changed, 33 insertions(+), 92 deletions(-)
create mode 100644 tests/data/0029-diffstat-in-patch.gz
--
2.21.0
More information about the Patchew-devel
mailing list