]> Kevux Git Server - rit/commit
treewide: use enum for `odb_for_each_object()` flags
authorPatrick Steinhardt <ps@pks.im>
Tue, 31 Mar 2026 23:57:47 +0000 (01:57 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Apr 2026 03:43:13 +0000 (20:43 -0700)
commit75c702624d9a5f60a78c2d4d5e8de83468c9c5ec
tree923c6e639d848f320f2b7d36941b260acbec5f89
parent55903dc87bee544c314706c509168afbbe14d262
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>
odb.c
odb.h
packfile.c
packfile.h