Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
lock_packed_refs(): take a `packed_ref_store *` parameter
[gitweb.git]
/
builtin
/
diff-tree.c
diff --git
a/builtin/diff-tree.c
b/builtin/diff-tree.c
index 95b8d1ba7cfe1edd6ed6bfe0047fc9256c8bb60f..5ea1c143171af792773bed34994edaf82f122c3b 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;
- obj = parse_object(
oid.hash
);
+ obj = parse_object(
&oid
);
if (!obj)
return -1;
if (obj->type == OBJ_COMMIT)