aboutsummaryrefslogtreecommitdiff
path: root/odb.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-10-07 12:25:27 -0700
committerJunio C Hamano <gitster@pobox.com>2025-10-07 12:25:28 -0700
commitfbd67ab9a4e21b31ef8b634ed6ccd28d94c299f2 (patch)
tree122911e6a235c5509d449ec6b72a2dac3df7b268 /odb.h
parentc2817955674c8cfc217c4ffc1deea8cc8cabe526 (diff)
parente1d062e8ba0b72f49e9ef9713cc7011c330baab8 (diff)
downloadgit-fbd67ab9a4e21b31ef8b634ed6ccd28d94c299f2.tar.xz
Merge branch 'ps/odb-clean-stale-wrappers'
Code clean-up. * ps/odb-clean-stale-wrappers: odb: drop deprecated wrapper functions
Diffstat (limited to 'odb.h')
-rw-r--r--odb.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/odb.h b/odb.h
index 7a3cfd34e1..e6602dd90c 100644
--- a/odb.h
+++ b/odb.h
@@ -489,37 +489,4 @@ static inline int odb_write_object(struct object_database *odb,
return odb_write_object_ext(odb, buf, len, type, oid, NULL, 0);
}
-/* Compatibility wrappers, to be removed once Git 2.51 has been released. */
-#include "repository.h"
-
-static inline int oid_object_info_extended(struct repository *r,
- const struct object_id *oid,
- struct object_info *oi,
- unsigned flags)
-{
- return odb_read_object_info_extended(r->objects, oid, oi, flags);
-}
-
-static inline int oid_object_info(struct repository *r,
- const struct object_id *oid,
- unsigned long *sizep)
-{
- return odb_read_object_info(r->objects, oid, sizep);
-}
-
-static inline void *repo_read_object_file(struct repository *r,
- const struct object_id *oid,
- enum object_type *type,
- unsigned long *size)
-{
- return odb_read_object(r->objects, oid, type, size);
-}
-
-static inline int has_object(struct repository *r,
- const struct object_id *oid,
- unsigned flags)
-{
- return odb_has_object(r->objects, oid, flags);
-}
-
#endif /* ODB_H */