We've got a couple of callsites where we pass `odb_for_each_object()`
flags, but accept an `unsigned` flags field instead of the corresponding
enum. Adapt these to accept the enum type instead.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
const struct object_info *request,
odb_for_each_object_cb cb,
void *cb_data,
- unsigned flags)
+ enum odb_for_each_object_flags flags)
{
struct odb_for_each_object_options opts = {
.flags = flags,
const struct object_info *request,
odb_for_each_object_cb cb,
void *cb_data,
- unsigned flags);
+ enum odb_for_each_object_flags flags);
enum odb_count_objects_flags {
/*
int for_each_object_in_pack(struct packed_git *p,
each_packed_object_fn cb, void *data,
- unsigned flags)
+ enum odb_for_each_object_flags flags)
{
uint32_t i;
int r = 0;
void *data);
int for_each_object_in_pack(struct packed_git *p,
each_packed_object_fn, void *data,
- unsigned flags);
+ enum odb_for_each_object_flags flags);
/*
* Iterate through all packed objects in the given packfile store and invoke