Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Remove get_object_hash.
[gitweb.git]
/
refs.c
diff --git
a/refs.c
b/refs.c
index 0467a760358b98e141313e9090cada77df9f88e9..65d887410f80bd5983f80bed356d1b4b60b1fc3f 100644
(file)
--- a/
refs.c
+++ b/
refs.c
@@
-1880,7
+1880,7
@@
static enum peel_status peel_object(const unsigned char *name, unsigned char *sh
if (!o)
return PEEL_INVALID;
- hashcpy(sha1,
get_object_hash(*o)
);
+ hashcpy(sha1,
o->oid.hash
);
return PEEL_PEELED;
}