Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
286f72c
Merge branch 'ps/odb-pluggable-pack-generation' into ps/odb-pluggable…
gitster Aug 26, 2026
3db2def
Merge branch 'ps/odb-eagerly-load-alternates' into ps/odb-pluggable-fsck
gitster Aug 26, 2026
004f98f
Merge branch 'ty/repository-fetch-if-missing' into ps/ps/odb-stop-reg…
gitster Sep 1, 2026
b4dedbc
cache-tree: drop `the_repository` in `cache_tree_fully_valid()`
pks-t Sep 11, 2026
f9de4b7
cache-tree: remove dependency on `the_repository`
pks-t Sep 11, 2026
8751a0f
submodule-config: remove uses of `the_repository`
pks-t Sep 11, 2026
e4ad79f
submodule-config: stop using `the_hash_algo`
pks-t Sep 11, 2026
a532feb
submodule-config: stop registering submodule sources
pks-t Sep 11, 2026
93cd344
builtin/grep: stop registering submodule ODB as source
pks-t Sep 11, 2026
5c5dfbe
odb: remove infrastructure to register submodule sources
pks-t Sep 11, 2026
60942e2
tmp-objdir: drop unused function to register alternate
pks-t Sep 11, 2026
a5a7e86
odb/packed: fix memory leaks when freeing source
pks-t Sep 11, 2026
314b468
builtin/multi-pack-index: refuse unknown sources with "--object-dir="
pks-t Sep 11, 2026
f1d88b9
t/helper: adapt read-midx to not link ad-hoc source anymore
pks-t Sep 11, 2026
46bbc86
t/helper: stop registering alternates in "ref-store" command
pks-t Sep 11, 2026
f0eb23a
odb: remove the ability to link sources ad-hoc
pks-t Sep 11, 2026
301a1ce
builtin/fsck: use `fsck_obj_buffer()` when checking loose objects
pks-t Sep 11, 2026
dbdea7a
builtin/fsck: merge `fsck_obj_buffer()` and `fsck_obj()`
pks-t Sep 11, 2026
e25440b
builtin/fsck: de-globalize option handling
pks-t Sep 11, 2026
485f5ae
builtin/fsck: don't check alternates with "--no-full"
pks-t Sep 11, 2026
a51b77a
odb: provide infrastructure for pluggable fsck checks
pks-t Sep 11, 2026
6bc7780
builtin/fsck: move packfile verification into the packed source
pks-t Sep 11, 2026
426d291
builtin/fsck: move reverse index verification into the packed source
pks-t Sep 11, 2026
1bbb92d
builtin/fsck: move bitmap verification into the packed source
pks-t Sep 11, 2026
ae7a0ff
builtin/fsck: move multi-pack index verification into the packed source
pks-t Sep 11, 2026
0d5ebb3
builtin/fsck: move loose object verification into the loose source
pks-t Sep 11, 2026
8fff84c
t9700: accommodate for MSYS2 Perl reporting as `cygwin`
dscho Sep 13, 2026
aa40ca0
t9129: skip UTF-8 tests on Windows
dscho Sep 13, 2026
1cd6b7d
cmake(windows): accommodate for Git for Windows' migration to UCRT64
dscho Sep 13, 2026
6fc1571
Merge branch 'js/mingw-test-fixes-around-perl'
gitster Sep 15, 2026
c78ed9e
Merge branch 'js/win-cmake-use-ucrt64'
gitster Sep 15, 2026
4ee3b87
Merge branch 'ps/odb-stop-registering-in-memory-sources'
gitster Sep 15, 2026
14bf3a4
Merge branch 'ps/odb-pluggable-fsck'
gitster Sep 15, 2026
f0ef1b9
4th batch for -rc1
gitster Sep 15, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions Documentation/RelNotes/2.56.0.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,20 @@ Performance, Internal Implementation, Development Support etc.
interfered with "git rebase" etc. too much. The conditions "rerere
gc" gets triggered have been tweaked.

* Windows build switches from MINGW64 to URCR64 runtime starting Git
2.56.0; switch the cmake based build at the same time.

* The mechanism to register in-memory alternate object sources has
been removed, as submodule object databases are now accessed
natively via their own repository structures. This simplifies
object database management and prepares the codebase for migrating
alternate tracking into the files backend.

* The consistency checks for the object database (fsck) have been
decoupled from the generic builtin implementation and moved into the
backend-specific object source layers, making them pluggable for
different object storage formats.


Fixes since v2.55
-----------------
Expand Down
2 changes: 1 addition & 1 deletion builtin/checkout.c
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ static int merge_working_tree(const struct checkout_opts *opts,
}
}

if (!cache_tree_fully_valid(the_repository->index->cache_tree))
if (!cache_tree_fully_valid(the_repository->index))
cache_tree_update(the_repository->index, WRITE_TREE_SILENT | WRITE_TREE_REPAIR);

if (write_locked_index(the_repository->index, &lock_file, COMMIT_LOCK))
Expand Down
2 changes: 1 addition & 1 deletion builtin/commit.c
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ static const char *prepare_index(const char **argv, const char *prefix,
LOCK_DIE_ON_ERROR);
refresh_cache_or_die(refresh_flags);
if (the_repository->index->cache_changed
|| !cache_tree_fully_valid(the_repository->index->cache_tree))
|| !cache_tree_fully_valid(the_repository->index))
cache_tree_update(the_repository->index, WRITE_TREE_SILENT);
if (write_locked_index(the_repository->index, &index_lock,
COMMIT_LOCK | SKIP_IF_UNCHANGED))
Expand Down
2 changes: 1 addition & 1 deletion builtin/fetch.c
Original file line number Diff line number Diff line change
Expand Up @@ -2681,7 +2681,7 @@ int cmd_fetch(int argc,
int *rs = config.recurse_submodules == RECURSE_SUBMODULES_DEFAULT
? &config.recurse_submodules : NULL;

fetch_config_from_gitmodules(sfjc, rs);
fetch_config_from_gitmodules(the_repository, sfjc, rs);
}


Expand Down
Loading