Files
git/builtin
Patrick Steinhardt ab1c6e1d12 odb: introduce odb_write_object()
We do not have a backend-agnostic way to write objects into an object
database. While there is `write_object_file()`, this function is rather
specific to the loose object format.

Introduce `odb_write_object()` to plug this gap. For now, this function
is a simple wrapper around `write_object_file()` and doesn't even use
the passed-in object database yet. This will change in subsequent
commits, where `write_object_file()` is converted so that it works on
top of an `odb_source`. `odb_write_object()` will then become
responsible for deciding which source an object shall be written to.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2025-07-16 22:16:15 -07:00
..
2025-05-27 13:59:09 -07:00
2025-05-16 12:00:33 -07:00
2025-07-01 14:46:38 -07:00
2025-07-01 14:46:37 -07:00
2024-12-13 07:33:36 -08:00
2025-07-16 22:16:15 -07:00
2025-07-01 14:46:38 -07:00
2025-05-15 13:46:44 -07:00
2025-01-28 13:02:22 -08:00
2025-07-01 14:46:37 -07:00
2025-07-01 14:46:38 -07:00
2025-07-01 14:46:38 -07:00
2024-12-18 10:44:30 -08:00
2025-07-01 14:46:37 -07:00
2025-07-01 14:46:37 -07:00
2024-12-18 10:44:31 -08:00
2025-07-16 22:16:15 -07:00
2025-07-16 22:16:15 -07:00
2025-07-16 22:16:15 -07:00
2025-05-08 12:36:32 -07:00
2025-07-16 22:16:15 -07:00
2025-07-01 14:46:37 -07:00
2025-02-04 09:51:41 -08:00
2025-07-01 14:46:38 -07:00
2025-07-16 22:16:15 -07:00
2025-07-01 14:46:37 -07:00
2025-03-29 01:04:40 -07:00
2025-07-01 14:46:38 -07:00
2025-06-30 14:30:31 -07:00
2025-07-16 22:16:15 -07:00
2024-12-18 10:44:30 -08:00
2025-01-28 13:02:22 -08:00