Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
pack-objects: refer to delta objects by index instead of pointer
[gitweb.git]
/
builtin
/
unpack-file.c
diff --git
a/builtin/unpack-file.c
b/builtin/unpack-file.c
index 32e01555774c838e489fd33c675488e754c3e8e2..300eb59657e29cace38798029a9170834cac7c9e 100644
(file)
--- a/
builtin/unpack-file.c
+++ b/
builtin/unpack-file.c
@@
-9,7
+9,7
@@
static char *create_temp_file(struct object_id *oid)
unsigned long size;
int fd;
- buf = read_
sha1_file(oid->hash
, &type, &size);
+ buf = read_
object_file(oid
, &type, &size);
if (!buf || type != OBJ_BLOB)
die("unable to read blob object %s", oid_to_hex(oid));