cache-tree: convert remnants to struct object_id
[gitweb.git] / sha1_file.c
index 1b94f39c4c5653b090d5dbecf0cf7a785b0556bb..6b887f8aaf06226b1a758b18176263a7f9b1a3a2 100644 (file)
@@ -1892,7 +1892,7 @@ static int index_stream(struct object_id *oid, int fd, size_t size,
                        enum object_type type, const char *path,
                        unsigned flags)
 {
-       return index_bulk_checkin(oid->hash, fd, size, type, path, flags);
+       return index_bulk_checkin(oid, fd, size, type, path, flags);
 }
 
 int index_fd(struct object_id *oid, int fd, struct stat *st,