diff options
| author | Shreyansh Paliwal <shreyanshpaliwalcmsmn@gmail.com> | 2026-04-04 19:28:40 +0530 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-04-08 09:58:10 -0700 |
| commit | 57c590feb96b2298e0966bea3ce88c72fca37bbd (patch) | |
| tree | 80a320dbb3c5a9be2caead931997199eb21f11e1 /Documentation/CodingGuidelines | |
| parent | 9a03f165a41d708c672e18e69d43f69689981e7d (diff) | |
| download | git-57c590feb96b2298e0966bea3ce88c72fca37bbd.tar.gz git-57c590feb96b2298e0966bea3ce88c72fca37bbd.zip | |
refs/reftable-backend: drop uses of the_repository
reftable_be_init() and reftable_be_create_on_disk() use the_repository even
though a repository instance is already available, either directly or via
struct ref_store.
Replace these uses with the appropriate local repository instance (repo or
ref_store->repo) to avoid relying on global state.
Note that USE_THE_REPOSITORY_VARIABLE cannot be removed yet, as
is_bare_repository() is still there in the file.
Signed-off-by: Shreyansh Paliwal <shreyanshpaliwalcmsmn@gmail.com>
Acked-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/CodingGuidelines')
0 files changed, 0 insertions, 0 deletions
