aboutsummaryrefslogtreecommitdiff
path: root/odb.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2026-04-01 01:57:47 +0200
committerJunio C Hamano <gitster@pobox.com>2026-03-31 20:43:13 -0700
commit75c702624d9a5f60a78c2d4d5e8de83468c9c5ec (patch)
tree923c6e639d848f320f2b7d36941b260acbec5f89 /odb.h
parent55903dc87bee544c314706c509168afbbe14d262 (diff)
downloadgit-75c702624d9a5f60a78c2d4d5e8de83468c9c5ec.tar.xz
treewide: use enum for `odb_for_each_object()` flags
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>
Diffstat (limited to 'odb.h')
-rw-r--r--odb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb.h b/odb.h
index 984bafca9d..09affaf6a5 100644
--- a/odb.h
+++ b/odb.h
@@ -522,7 +522,7 @@ int odb_for_each_object(struct object_database *odb,
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 {
/*