[PATCH] git-branch: avoid getting confused by empty or nonexisting branches.
[gitweb.git] / test-delta.c
index da51efc245c4f6b543a5695d402c902a3c343779..37ef86b283c2378017f1fc6bff05cc33fb25d7aa 100644 (file)
@@ -61,7 +61,7 @@ int main(int argc, char *argv[])
        if (argv[1][1] == 'd')
                out_buf = diff_delta(from_buf, from_size,
                                     data_buf, data_size,
-                                    &out_size, ~0UL);
+                                    &out_size, 0);
        else
                out_buf = patch_delta(from_buf, from_size,
                                      data_buf, data_size,