[PATCH 0/2] [Outreachy PATCH] archive: remove USE_THE_REPOSITORY_VARIABLE from archival modules
- From
- Srujith A Poojary via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Nov 9, 2026, 19:04 UTC
- Message-ID
- <pull.2305.git.1794251100.gitgitgadget@gmail.com>
Refactored archive-tar.c, archive-zip.c, archive.c, and supporting files to use explicit struct repository *repo pointers instead of global repository variables.
Srujith A Poojary (2): submodule: use the submodule repository to abbreviate commits archive: remove USE_THE_REPOSITORY_VARIABLE from archival modules
archive-tar.c | 8 +++----- archive-zip.c | 3 ++- archive.c | 6 +++--- archive.h | 6 +++--- builtin/archive.c | 3 ++- builtin/upload-archive.c | 2 +- diagnose.c | 2 +- submodule.c | 5 +++-- t/t4041-diff-submodule-option.sh | 23 +++++++++++++++++++++++ 9 files changed, 41 insertions(+), 17 deletions(-)
base-commit: 50fe5cc63f9cd6e89b87a2c9ccf96a444f4cfdb7 Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-2305%2Fpoojarysrujith%2Farchive-libification-refactor-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-2305/poojarysrujith/archive-libification-refactor-v1 Pull-Request: https://github.com/gitgitgadget/git/pull/2305
-- gitgitgadget