t7814: do not generate same commits in different repos
[gitweb.git] / unpack-trees.c
index 50189909b86d6ab48a0aa15893f5b66c2e9ce613..cfe1c5ec6f3f6a686deb6a4a770f092a4dec3d06 100644 (file)
@@ -840,7 +840,7 @@ static int traverse_trees_recursive(int n, unsigned long dirmask,
                        const struct object_id *oid = NULL;
                        if (dirmask & 1)
                                oid = &names[i].oid;
-                       buf[nr_buf++] = fill_tree_descriptor(t + i, oid);
+                       buf[nr_buf++] = fill_tree_descriptor(the_repository, t + i, oid);
                }
        }