Message ID | b0bc773f51e114d96ad6efd1ebd03fb6e7646288.1637148025.git.gitgitgadget@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 6b13bc32322dc64e52ef29c9f527746ad30d0ad8 |
Headers | show |
Series | xdiff: speedup histogram diff | expand |
diff --git a/xdiff/xdiffi.c b/xdiff/xdiffi.c index a4542c05b61..6a3b9280beb 100644 --- a/xdiff/xdiffi.c +++ b/xdiff/xdiffi.c @@ -392,10 +392,7 @@ static xdchange_t *xdl_add_change(xdchange_t *xscr, long i1, long i2, long chg1, static int recs_match(xrecord_t *rec1, xrecord_t *rec2, long flags) { - return (rec1->ha == rec2->ha && - xdl_recmatch(rec1->ptr, rec1->size, - rec2->ptr, rec2->size, - flags)); + return (rec1->ha == rec2->ha); } /*