]> git.ipfire.org Git - thirdparty/git.git/commit
object-file: drop `index_blob_stream()`
authorPatrick Steinhardt <ps@pks.im>
Tue, 15 Apr 2025 09:38:20 +0000 (11:38 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Apr 2025 15:24:36 +0000 (08:24 -0700)
commit8a54ebd5ed724545811edfb4cd938f53bd25d1ae
tree4f1f88af801e29ad9910f115e814715c59f8b9a8
parent70c0f9db4e00586e4df5cca24fe7ce05848ee59c
object-file: drop `index_blob_stream()`

The `index_blob_stream()` function is a mere wrapper around
`index_blob_bulk_checkin()`. This has been the case since 568508e7657
(bulk-checkin: replace fast-import based implementation, 2011-10-28),
which has moved the implementation from `index_blob_stream()` (which was
still called `index_stream()`) into `index_bulk_checkin()` (which has
since been renamed to `index_blob_bulk_checkin()`).

Remove the redirection by dropping the wrapper. Move the comment to
`index_blob_bulk_checkin()` to retain its context.

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