[PATCH] Support commit_format in diff-tree
[gitweb.git] / diffcore-pickaxe.c
index 9cf3a5083852bff2e2bf09335e792b40af8e3d73..4c26b422f9d4ea16581bc44cf8a2ce4f5586a7f1 100644 (file)
@@ -4,14 +4,13 @@
 #include "cache.h"
 #include "diff.h"
 #include "diffcore.h"
-#include "delta.h"
 
 static int contains(struct diff_filespec *one,
                    const char *needle, unsigned long len)
 {
        unsigned long offset, sz;
        const char *data;
-       if (diff_populate_filespec(one))
+       if (diff_populate_filespec(one, 0))
                return 0;
        sz = one->size;
        data = one->data;