[PATCH] Bugfix: initialize pack_base to NULL.
[gitweb.git] / diffcore-rename.c
index 8fb45f0b8706baa6a1190b21d723d0b0d81203c5..29609c74b6f312b59b7dde798ca5fc517c4a8bbb 100644 (file)
@@ -165,7 +165,7 @@ static int estimate_similarity(struct diff_filespec *src,
 
        delta = diff_delta(src->data, src->size,
                           dst->data, dst->size,
-                          &delta_size);
+                          &delta_size, ~0UL);
 
        /* A delta that has a lot of literal additions would have
         * big delta_size no matter what else it does.