]> git.ipfire.org Git - thirdparty/git.git/commit
object-store: drop `loose_object_path()`
authorPatrick Steinhardt <ps@pks.im>
Tue, 29 Apr 2025 07:52:16 +0000 (09:52 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Apr 2025 17:08:12 +0000 (10:08 -0700)
commit56ef85e82ffa39ac86db39bc0ac11c67451d0e5b
tree2b6874b1aaeace33a53e1bedf5f4f55c5cd09859
parentddb28da58fd657fa672f4605e50e140ce4c662f8
object-store: drop `loose_object_path()`

The function `loose_object_path()` is a trivial wrapper around
`odb_loose_path()`, with the only exception that it always uses the
primary object database of the given repository. This doesn't really add
a ton of value though, so let's drop the function and inline it at every
callsite.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-walker.c
http.c
object-file.c
object-file.h
object-store.c
object-store.h