diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-09-12 13:29:48 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-09-12 10:15:40 -0700 |
| commit | 26b4df907bca4829df44dc7eee23ccf7720898f7 (patch) | |
| tree | fb4884c5b126cfbeabaf78644d74976581519cd0 /bundle-uri.c | |
| parent | b92266b79c7bb741e3600e9dc206b693d8062fa9 (diff) | |
| download | git-26b4df907bca4829df44dc7eee23ccf7720898f7.tar.gz | |
environment: move object database functions into object layer
The `odb_mkstemp()` and `odb_pack_keep()` functions are quite clearly
tied to the object store, but regardless of that they are located in
"environment.c". Move them over, which also helps to get rid of
dependencies on `the_repository` in the environment subsystem.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bundle-uri.c')
| -rw-r--r-- | bundle-uri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundle-uri.c b/bundle-uri.c index 1e0ee156ba..eb8eca078b 100644 --- a/bundle-uri.c +++ b/bundle-uri.c @@ -4,7 +4,6 @@ #include "bundle-uri.h" #include "bundle.h" #include "copy.h" -#include "environment.h" #include "gettext.h" #include "refs.h" #include "run-command.h" @@ -13,6 +12,7 @@ #include "config.h" #include "fetch-pack.h" #include "remote.h" +#include "object-store-ll.h" static struct { enum bundle_list_heuristic heuristic; |
