[Patchew-devel] [PATCH v3 0/2] models: do not be fooled by diffstats in the message body

Paolo Bonzini posted 2 patches 5 years, 7 months ago
Failed in applying to current master (apply log)
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
[Patchew-devel] [PATCH v3 0/2] models: do not be fooled by diffstats in the message body
Posted by Paolo Bonzini 5 years, 7 months ago
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

_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://www.redhat.com/mailman/listinfo/patchew-devel