[PATCH v5 0/2] repository: move fetch_if_missing into struct repository

Tian Yuchen <[email protected]>
Newsgroups org.kernel.vger.git
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.