Skip to content

config: make config_with_options() handle any repo

Matheus Tavares git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2config: allow config_with_options() to handle any repoDocumentation/technical/api-config.txt config.c config.h +2 more+39 -217 replies
2/2submodule: pass repo instead of adding to alternates listsubmodule-config.c+3 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] config: make config_with_options() handle any repo

This patchset makes more config.c functions handle arbitrary repos and use that to remove an add_to_alternates_memory() call in submodule-config.c. This should hopefully benefit performance and memory.

Matheus Tavares (2):
config: allow config_with_options() to handle any repo
submodule: pass repo instead of adding to alternates list

 Documentation/technical/api-config.txt        |  5 +++-
 config.c                                      | 26 +++++++++----------
 config.h                                      | 16 ++++++++----
 .../coccinelle/the_repository.pending.cocci   | 11 ++++++++
 submodule-config.c                            |  9 +++----
 5 files changed, 42 insertions(+), 25 deletions(-)
Signature · 1 line
2.22.0