diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-08-17 13:09:25 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-08-17 09:36:10 -0700 |
| commit | 0076dc9f8141bd864e24a4d160b58be7c0597ce7 (patch) | |
| tree | 742145f19d1706b47356d6a833dc3ada8f059171 /gitweb/gitweb.cgi | |
| parent | 0e67428c8580c461317768f7fe9916c71435d9e3 (diff) | |
odb: drop `alternates_db` field
The `struct object_database::alternates_db` field tracks the value of
the "GIT_ALTERNATE_OBJECT_DIRECTORIES" environment variable and is
used in `odb_prepare_alternates()`. It's not necessary to store it as a
separate field anymore though, as we stopped lazy-loading alternates.
Consequently, we can simply pass it to `odb_prepare_alternates()` via
`odb_new()` now.
Do so and remove the field.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/gitweb.cgi')
0 files changed, 0 insertions, 0 deletions
