/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
object: convert parse_object* to take struct object_id
[git/git.git]
/
builtin
/
diff-tree.c
diff --git
a/builtin/diff-tree.c
b/builtin/diff-tree.c
index
95b8d1b
..
5ea1c14
100644
(file)
--- 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;
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)
if (!obj)
return -1;
if (obj->type == OBJ_COMMIT)