]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/diff-tree.c
object: convert parse_object* to take struct object_id
[thirdparty/git.git] / builtin / diff-tree.c
index 95b8d1ba7cfe1edd6ed6bfe0047fc9256c8bb60f..5ea1c143171af792773bed34994edaf82f122c3b 100644 (file)
@@ -67,7 +67,7 @@ static int diff_tree_stdin(char *line)
        line[len-1] = 0;
        if (parse_oid_hex(line, &oid, &p))
                return -1;
-       obj = parse_object(oid.hash);
+       obj = parse_object(&oid);
        if (!obj)
                return -1;
        if (obj->type == OBJ_COMMIT)