Add a "max_size" parameter to diff_delta()
[git/git.git] / diffcore-break.c
index 920062b..9852f97 100644 (file)
@@ -65,7 +65,7 @@ static int should_break(struct diff_filespec *src,
 
        delta = diff_delta(src->data, src->size,
                           dst->data, dst->size,
-                          &delta_size);
+                          &delta_size, ~0UL);
 
        /* Estimate the edit size by interpreting delta. */
        if (count_delta(delta, delta_size,