/
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.c
diff --git
a/builtin/diff.c
b/builtin/diff.c
index
895f928
..
8c03dda
100644
(file)
--- a/
builtin/diff.c
+++ b/
builtin/diff.c
@@
-395,7
+395,7
@@
int cmd_diff(int argc, const char **argv, const char *prefix)
const char *name = entry->name;
int flags = (obj->flags & UNINTERESTING);
if (!obj->parsed)
- obj = parse_object(
obj->oid.hash
);
+ obj = parse_object(
&obj->oid
);
obj = deref_tag(obj, NULL, 0);
if (!obj)
die(_("invalid object '%s' given."), name);