builtin/prune: remove dependency on global variables and 'the_repository'
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | repository: move 'repository_format_precious_objects' to repo scopebuiltin/ builtin/ builtin/ +5 more | +9 | 2 replies | |
| 2/2 | builtin/prune: stop depending on 'the_repository'builtin/ | +12 | 2 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Christian Couder | Ghanshyam Thakkar |
|---|---|---|
| Series | Mentored-by Mentored-by Mentored-by Mentored-by | Mentored-by Mentored-by Mentored-by Mentored-by |
| 1/2 | ||
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [GSOC PATCH 0/2] builtin/prune: remove dependency on global variables and 'the_repository'
The aim of this patch series is to remove the definition '#define USE_THE_REPOSITORY_VARIABLE' from "builtin/prune.c" by removing global variables and the global 'the_repository'.
This patch series contains two patches:
1 - Move the global variable 'repository_format_precious_objects' into 'struct repository' and update all affected code paths accordingly.
2 - Remove the dependency of 'the_repository' in "builtin/prunce.c", allowing the removal of the definition.
Ayush Chandekar (2):
repository: move 'repository_format_precious_objects' to repo scope builtin/prune: stop depending on 'the_repository'
builtin/gc.c | 2 +- builtin/prune.c | 25 ++++++++++++------------- builtin/repack.c | 2 +- environment.c | 1 - environment.h | 2 -- repository.c | 1 + repository.h | 1 + setup.c | 5 ++++- 8 files changed, 20 insertions(+), 19 deletions(-)
Signature · 1 line
2.49.0