aboutsummaryrefslogtreecommitdiff
path: root/notes.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2026-04-01 01:57:50 +0200
committerJunio C Hamano <gitster@pobox.com>2026-03-31 20:43:14 -0700
commitc63911b052dc286de5daddba8d4a20fd59348cee (patch)
tree4e22beca001ac84fbab80727ace17a289ca2a46c /notes.c
parentb2d421ece6a8e095394e76930e6929ee036571ef (diff)
downloadgit-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 'notes.c')
-rw-r--r--notes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notes.c b/notes.c
index 51a7ef9f83..8f315e2a00 100644
--- a/notes.c
+++ b/notes.c
@@ -796,7 +796,7 @@ static int prune_notes_helper(const struct object_id *object_oid,
struct note_delete_list *n;
if (odb_has_object(the_repository->objects, object_oid,
- HAS_OBJECT_RECHECK_PACKED | HAS_OBJECT_FETCH_PROMISOR))
+ ODB_HAS_OBJECT_RECHECK_PACKED | ODB_HAS_OBJECT_FETCH_PROMISOR))
return 0; /* nothing to do for this note */
/* failed to find object => prune this note */