From: Tian Yuchen <cat@malon.dev>
To: git@vger.kernel.org
Cc: Tian Yuchen <cat@malon.dev>
Subject: [PATCH v5 0/2] repository: move fetch_if_missing into struct repository
Date: Fri, 14 Aug 2026 15:24:17 +0800 [thread overview]
Message-ID: <20260814072419.1666358-1-cat@malon.dev> (raw)
In-Reply-To: <20260813061125.1089553-1-cat@malon.dev>
Hi all,
To continue the libification effort, this commit series aim to migrate
the global 'fetch_if_missing' into struct repository, making it a
per-repository configuration.
Changes since v4:
- Use repo instead of the_repository in more call sites.
Tian Yuchen (2):
pack-objects: give fetch_if_missing call sites access to 'repo'
repository: move fetch_if_missing into struct repository
Documentation/technical/partial-clone.adoc | 2 +-
builtin/fetch-pack.c | 6 +++---
builtin/fsck.c | 6 +++---
builtin/index-pack.c | 8 +++----
builtin/pack-objects.c | 25 ++++++++++++----------
builtin/prune.c | 2 +-
builtin/rev-list.c | 17 ++++++++-------
common-init.c | 2 +-
git.c | 2 +-
midx-write.c | 2 +-
odb.c | 4 +---
odb.h | 8 -------
repository.c | 1 +
repository.h | 6 ++++++
revision.c | 2 +-
15 files changed, 47 insertions(+), 46 deletions(-)
--
2.43.0
next prev parent reply other threads:[~2026-08-14 7:24 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-15 1:18 [PATCH v1] repository: move fetch_if_missing into struct repository Tian Yuchen
2026-07-15 3:27 ` Junio C Hamano
2026-07-15 4:58 ` Tian Yuchen
2026-07-15 6:35 ` Patrick Steinhardt
2026-07-16 7:06 ` Tian Yuchen
2026-07-16 15:28 ` Junio C Hamano
2026-07-16 7:29 ` [PATCH v2] " Tian Yuchen
2026-08-01 15:53 ` Tian Yuchen
2026-08-04 8:24 ` Patrick Steinhardt
2026-08-04 17:38 ` Junio C Hamano
2026-08-05 12:34 ` Tian Yuchen
2026-08-05 12:10 ` Tian Yuchen
2026-08-07 9:41 ` [PATCH v3] " Tian Yuchen
2026-08-07 17:03 ` Junio C Hamano
2026-08-09 15:00 ` Tian Yuchen
2026-08-13 6:11 ` [PATCH v4] " Tian Yuchen
2026-08-13 16:32 ` Junio C Hamano
2026-08-14 7:24 ` Tian Yuchen [this message]
2026-08-14 7:24 ` [PATCH v5 1/2] pack-objects: give fetch_if_missing call sites access to 'repo' Tian Yuchen
2026-08-14 14:38 ` Junio C Hamano
2026-08-14 7:24 ` [PATCH v5 2/2] repository: move fetch_if_missing into struct repository Tian Yuchen
2026-08-14 14:44 ` [PATCH v5 0/2] " Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260814072419.1666358-1-cat@malon.dev \
--to=cat@malon.dev \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.