]> git.ipfire.org Git - thirdparty/git.git/commit
environment: move object database functions into object layer
authorPatrick Steinhardt <ps@pks.im>
Thu, 12 Sep 2024 11:29:48 +0000 (13:29 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 Sep 2024 17:15:40 +0000 (10:15 -0700)
commit26b4df907bca4829df44dc7eee23ccf7720898f7
treefb4884c5b126cfbeabaf78644d74976581519cd0
parentb92266b79c7bb741e3600e9dc206b693d8062fa9
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>
bundle-uri.c
environment.c
environment.h
object-file.c
object-store-ll.h