]> git.ipfire.org Git - thirdparty/git.git/blobdiff - walker.c
Convert lookup_tree to struct object_id
[thirdparty/git.git] / walker.c
index 3d6029c8e226c1de37b38a379fe47d82976bd758..eae9fb974f145b2ac9477357c260044a416f8c7f 100644 (file)
--- a/walker.c
+++ b/walker.c
@@ -47,7 +47,7 @@ static int process_tree(struct walker *walker, struct tree *tree)
                if (S_ISGITLINK(entry.mode))
                        continue;
                if (S_ISDIR(entry.mode)) {
-                       struct tree *tree = lookup_tree(entry.oid->hash);
+                       struct tree *tree = lookup_tree(entry.oid);
                        if (tree)
                                obj = &tree->object;
                }