X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=builtin%2Fdiff-tree.c;h=5ea1c143171af792773bed34994edaf82f122c3b;hb=c251c83df276dc0bff4d008433268ad59b7a8df2;hp=95b8d1ba7cfe1edd6ed6bfe0047fc9256c8bb60f;hpb=a9dbc179100b7119cb44eb5b4adcb47967f346a6;p=thirdparty%2Fgit.git diff --git a/builtin/diff-tree.c b/builtin/diff-tree.c index 95b8d1ba7c..5ea1c14317 100644 --- a/builtin/diff-tree.c +++ b/builtin/diff-tree.c @@ -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)