Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
exec_cmd: rename to use dash in file name
[gitweb.git]
/
notes-cache.c
diff --git
a/notes-cache.c
b/notes-cache.c
index 398e61d5e943b1e6e143f159739f83fc0df9b6b8..e61988e503b0b2097afeb6716123d88429c0717d 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;