diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-01-26 10:51:17 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-01-26 08:26:06 -0800 |
| commit | bd1855b89760cc0f9a185010a0d92d2e11a73132 (patch) | |
| tree | 538370d3c29154029ec786169101380f97cd6390 /object-file.c | |
| parent | ec16dde5c8c08fe6f26a2183a038e02ea7b2b25f (diff) | |
| download | git-bd1855b89760cc0f9a185010a0d92d2e11a73132.tar.xz | |
odb: rename `FOR_EACH_OBJECT_*` flags
Rename the `FOR_EACH_OBJECT_*` flags to have an `ODB_` prefix. This
prepares us for a new upcoming `odb_for_each_object()` function and
ensures that both the function and its flags have the same prefix.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object-file.c')
| -rw-r--r-- | object-file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/object-file.c b/object-file.c index e7e4c3348f..64e9e239dc 100644 --- a/object-file.c +++ b/object-file.c @@ -1789,7 +1789,7 @@ int for_each_loose_file_in_source(struct odb_source *source, int for_each_loose_object(struct object_database *odb, each_loose_object_fn cb, void *data, - enum for_each_object_flags flags) + enum odb_for_each_object_flags flags) { struct odb_source *source; @@ -1800,7 +1800,7 @@ int for_each_loose_object(struct object_database *odb, if (r) return r; - if (flags & FOR_EACH_OBJECT_LOCAL_ONLY) + if (flags & ODB_FOR_EACH_OBJECT_LOCAL_ONLY) break; } |
