projects
/
platform
/
upstream
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 2.18.1
[platform/upstream/git.git]
/
notes-cache.c
diff --git
a/notes-cache.c
b/notes-cache.c
index
398e61d
..
e61988e
100644
(file)
--- a/
notes-cache.c
+++ b/
notes-cache.c
@@
-77,7
+77,7
@@
char *notes_cache_get(struct notes_cache *c, struct object_id *key_oid,
value_oid = get_note(&c->tree, key_oid);
if (!value_oid)
return NULL;
- value = read_
sha1_file(value_oid->hash
, &type, &size);
+ value = read_
object_file(value_oid
, &type, &size);
*outsize = size;
return value;