diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-04-01 01:57:51 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-03-31 20:43:14 -0700 |
| commit | 109bcb7d1d2f0d2f0514beec15779190c0b89575 (patch) | |
| tree | dc72ca8fc9c264382d52056ab88686e10a487b1c | |
| parent | c63911b052dc286de5daddba8d4a20fd59348cee (diff) | |
| download | git-109bcb7d1d2f0d2f0514beec15779190c0b89575.tar.xz | |
odb: drop unneeded headers and forward decls
There's a couple of unneeded forward declarations and headers in
"odb.h". Drop these.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
| -rw-r--r-- | odb.h | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -1,19 +1,17 @@ #ifndef ODB_H #define ODB_H -#include "hashmap.h" #include "object.h" #include "oidset.h" #include "oidmap.h" #include "string-list.h" #include "thread-utils.h" -struct oidmap; -struct oidtree; +struct cached_object_entry; +struct packed_git; +struct repository; struct strbuf; struct strvec; -struct repository; -struct multi_pack_index; /* * Set this to 0 to prevent odb_read_object_info_extended() from fetching missing @@ -31,10 +29,6 @@ extern int fetch_if_missing; */ char *compute_alternate_path(const char *path, struct strbuf *err); -struct packed_git; -struct packfile_store; -struct cached_object_entry; - /* * A transaction may be started for an object database prior to writing new * objects via odb_transaction_begin(). These objects are not committed until |
