Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
sha1_file: convert read_sha1_file to struct object_id
[gitweb.git]
/
streaming.c
diff --git
a/streaming.c
b/streaming.c
index 3f4be1ea2c3e9ed68190b8e2bb54c9b3de6d853b..72a3ca8d08d7a67cf03a9e278225f52a70301f5b 100644
(file)
--- a/
streaming.c
+++ b/
streaming.c
@@
-492,7
+492,7
@@
static struct stream_vtbl incore_vtbl = {
static open_method_decl(incore)
{
- st->u.incore.buf = read_
sha1_file_extended(oid->hash
, type, &st->size, 0);
+ st->u.incore.buf = read_
object_file_extended(oid
, type, &st->size, 0);
st->u.incore.read_ptr = 0;
st->vtbl = &incore_vtbl;