diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-04-01 01:57:47 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-03-31 20:43:13 -0700 |
| commit | 75c702624d9a5f60a78c2d4d5e8de83468c9c5ec (patch) | |
| tree | 923c6e639d848f320f2b7d36941b260acbec5f89 /packfile.c | |
| parent | 55903dc87bee544c314706c509168afbbe14d262 (diff) | |
| download | git-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 'packfile.c')
| -rw-r--r-- | packfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packfile.c b/packfile.c index ee9c7ea1d1..5d3b772973 100644 --- a/packfile.c +++ b/packfile.c @@ -2299,7 +2299,7 @@ int has_object_kept_pack(struct repository *r, const struct object_id *oid, 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; |
