sha1-file: convert freshen functions to object_id
Convert the various functions for freshening objects and has_loose_object_nonlocal to use 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
14c3c80c81
commit
6862ebbfcb
@ -1012,7 +1012,7 @@ static int want_object_in_pack(const struct object_id *oid,
|
||||
int want;
|
||||
struct list_head *pos;
|
||||
|
||||
if (!exclude && local && has_loose_object_nonlocal(oid->hash))
|
||||
if (!exclude && local && has_loose_object_nonlocal(oid))
|
||||
return 0;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user