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>
Patrick Steinhardt committed
Apr 1, 2026 at 01:57 UTC
109bcb7d1d2f0d2f0514beec15779190c0b89575
1 file changed
+3
-9
odb.h
+3
-9
@@ -1,19 +1,17 @@
1
#ifndef ODB_H
2
#define ODB_H
3
4
-#include "hashmap.h"
4
#include "object.h"
5
#include "oidset.h"
6
#include "oidmap.h"
7
#include "string-list.h"
8
#include "thread-utils.h"
9
11
-struct oidmap;
12
-struct oidtree;
10
+struct cached_object_entry;
11
+struct packed_git;
12
+struct repository;
13
struct strbuf;
14
struct strvec;
15
-struct repository;
16
-struct multi_pack_index;
15
16
/*
17
* Set this to 0 to prevent odb_read_object_info_extended() from fetching missing
@@ -31,10 +29,6 @@ extern int fetch_if_missing;
29
*/
30
char *compute_alternate_path(const char *path, struct strbuf *err);
31
34
-struct packed_git;
35
-struct packfile_store;
36
-struct cached_object_entry;
37
-
32
/*
33
* A transaction may be started for an object database prior to writing new
34
* objects via odb_transaction_begin(). These objects are not committed until