bulk-checkin: convert index_bulk_checkin to struct object_id
Convert the index_bulk_checkin function, and the static functions it calls, to use pointers to struct object_id. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
d0db9edba0
commit
68ee6dfc9e
@ -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,
|
||||
|
Reference in New Issue
Block a user