midx: Introduce git_odb_write_multi_pack_index() by lhchavez · Pull Request #5405 · libgit2/libgit2 · GitHub
Skip to content

midx: Introduce git_odb_write_multi_pack_index()#5405

Merged
ethomson merged 3 commits into
libgit2:mainfrom
lhchavez:multi-pack-index-odb-write
Aug 30, 2021
Merged

midx: Introduce git_odb_write_multi_pack_index()#5405
ethomson merged 3 commits into
libgit2:mainfrom
lhchavez:multi-pack-index-odb-write

Conversation

@lhchavez

Copy link
Copy Markdown
Contributor

This change introduces git_odb_write_multi_pack_index(), which creates a
multi-pack-index file from all the .pack files that have been loaded
in the ODB.

Fixes: #5399

@lhchavez lhchavez changed the title Multi pack index odb write multipack: Introduce git_odb_write_multi_pack_index() Feb 18, 2020
@lhchavez lhchavez force-pushed the multi-pack-index-odb-write branch 6 times, most recently from b5b9ab6 to 9cb5803 Compare March 1, 2020 04:32
@lhchavez lhchavez force-pushed the multi-pack-index-odb-write branch from 9cb5803 to cd7762d Compare October 5, 2020 13:27
@lhchavez lhchavez changed the title multipack: Introduce git_odb_write_multi_pack_index() midx: Introduce git_odb_write_multi_pack_index() Oct 5, 2020
@lhchavez lhchavez force-pushed the multi-pack-index-odb-write branch 3 times, most recently from 79c6794 to 3f2deed Compare November 29, 2020 14:46
@lhchavez lhchavez force-pushed the multi-pack-index-odb-write branch 2 times, most recently from 07fb62b to daf437c Compare December 13, 2020 18:26
Base automatically changed from master to main January 7, 2021 10:09
@lhchavez lhchavez force-pushed the multi-pack-index-odb-write branch from daf437c to 55bed14 Compare July 27, 2021 01:49
Comment thread include/git2/sys/odb_backend.h Outdated
This change adds the git_midx_writer_* functions to allow to
write and create `multi-pack-index` files from `.idx`/`.pack` files.

Part of: libgit2#5399
This change introduces git_odb_write_multi_pack_index(), which creates a
`multi-pack-index` file from all the `.pack` files that have been loaded
in the ODB.

Fixes: libgit2#5399
@lhchavez lhchavez force-pushed the multi-pack-index-odb-write branch from 55bed14 to ea28590 Compare August 27, 2021 11:12
ethomson
ethomson previously approved these changes Aug 30, 2021
@ethomson ethomson merged commit 147b659 into libgit2:main Aug 30, 2021
@lhchavez lhchavez deleted the multi-pack-index-odb-write branch August 30, 2021 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

support git 2.21's multi-pack-index

2 participants