diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-04-01 01:57:50 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-03-31 20:43:14 -0700 |
| commit | c63911b052dc286de5daddba8d4a20fd59348cee (patch) | |
| tree | 4e22beca001ac84fbab80727ace17a289ca2a46c /object-file.c | |
| parent | b2d421ece6a8e095394e76930e6929ee036571ef (diff) | |
| download | git-c63911b052dc286de5daddba8d4a20fd59348cee.tar.xz | |
odb: rename `odb_has_object()` flags
Rename `odb_has_object()` flags to be properly prefixed with the
function name.
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/object-file.c b/object-file.c index 2146104de8..98a4678ca4 100644 --- a/object-file.c +++ b/object-file.c @@ -1378,7 +1378,7 @@ static int already_written(struct odb_transaction_files *transaction, { /* The object may already exist in the repository */ if (odb_has_object(transaction->base.source->odb, oid, - HAS_OBJECT_RECHECK_PACKED | HAS_OBJECT_FETCH_PROMISOR)) + ODB_HAS_OBJECT_RECHECK_PACKED | ODB_HAS_OBJECT_FETCH_PROMISOR)) return 1; /* Might want to keep the list sorted */ |
