]> git.99rst.org Git - git.git/commit
object-file: move `force_object_loose()`
authorPatrick Steinhardt <redacted>
Fri, 17 Jul 2026 09:32:16 +0000 (11:32 +0200)
committerJunio C Hamano <redacted>
Sun, 19 Jul 2026 02:03:49 +0000 (19:03 -0700)
commita6c1e16b480a797a61a47616772e7254f7759053
treef2a2c78d6f4f5b6dce0ddc5be72451bb4f9cf07a
parent627d3b7ab5dc76f0d4e4ef7a42184524df8f2ab1
object-file: move `force_object_loose()`

In the preceding commits we have refactored `force_object_loose()` to
not call internal functions anymore for writing the object. Instead, it
now only uses generic functions that are accessible to all callers.

Consequently, we can now easily move the function to its only caller,
which is git-pack-objects(1). Do so.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/pack-objects.c
object-file.c
object-file.h
git clone https://git.99rst.org/PROJECT