diff-delta: allow reusing of the reference buffer index
[gitweb.git] / diffcore-break.c
index 95b5eb492e3aa1a282347b875df04da31f276399..34f1ed07319c058c9cc8a99b902727fa1f305a02 100644 (file)
@@ -71,7 +71,7 @@ static int should_break(struct diff_filespec *src,
 
        delta = diff_delta(src->data, src->size,
                           dst->data, dst->size,
-                          &delta_size, 0);
+                          &delta_size, 0, NULL);
        if (!delta)
                return 0; /* error but caught downstream */