]> git.ipfire.org Git - thirdparty/git.git/commit
odb: rename `has_object()`
authorPatrick Steinhardt <ps@pks.im>
Tue, 1 Jul 2025 12:22:27 +0000 (14:22 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 1 Jul 2025 21:46:38 +0000 (14:46 -0700)
commitfcf8e3e111ec46705f91151baee40f2c0a3637da
treead6f80efc085178b284a8ab8fd2773b4f3259782
parentd4ff88aee3967e5d1ef1237cd9b8792b7cdb304c
odb: rename `has_object()`

Rename `has_object()` to `odb_has_object()` to match other functions
related to the object database and our modern coding guidelines.

Introduce a compatibility wrapper so that any in-flight topics will
continue to compile.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
30 files changed:
apply.c
builtin/backfill.c
builtin/cat-file.c
builtin/clone.c
builtin/fetch.c
builtin/fsck.c
builtin/index-pack.c
builtin/pack-objects.c
builtin/receive-pack.c
builtin/remote.c
builtin/show-ref.c
builtin/unpack-objects.c
bulk-checkin.c
cache-tree.c
commit-graph.c
commit.c
fetch-pack.c
http-push.c
http-walker.c
list-objects.c
notes.c
odb.c
odb.h
reflog.c
refs.c
remote.c
send-pack.c
shallow.c
upload-pack.c
walker.c