Search and set up repository early for builtin commands
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest18 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | builtin: introduce startup_info structcache.h environment.c git.c +1 more | +23 | 0 replies | |
| 2/18 | builtin: Support RUN_SETUP_GENTLY to set up repository early if foundcache.h git.c setup.c | +12 | 0 replies | |
| 3/18 | config: use RUN_SETUP_GENTLYbuiltin/ git.c | +4 | 0 replies | |
| 4/18 | hash-object: use RUN_SETUP_GENTLYbuiltin/ git.c | +6 | 0 replies | |
| 5/18 | shortlog: use RUN_SETUP_GENTLYbuiltin/ git.c | +2 | 0 replies | |
| 6/18 | grep: use RUN_SETUP_GENTLYbuiltin/ git.c | +4 | 0 replies | |
| 7/18 | builtin: USE_PAGER should not be used without RUN_SETUP*git.c | +4 | 0 replies | |
| 8/18 | archive: use RUN_SETUP_GENTLYbuiltin/ git.c | +3 | 0 replies | |
| 9/18 | mailinfo: use RUN_SETUP_GENTLYbuiltin/ git.c | +1 | 0 replies | |
| 10/18 | check-ref-format: use RUN_SETUP_GENTLYgit.c | +1 | 0 replies | |
| 11/18 | verify-pack: use RUN_SETUP_GENTLYgit.c | +1 | 0 replies | |
| 12/18 | apply: use RUN_SETUP_GENTLYbuiltin/ git.c | +4 | 0 replies | |
| 13/18 | bundle: use RUN_SETUP_GENTLYbuiltin/ git.c | +3 | 0 replies | |
| 14/18 | diff: use RUN_SETUP_GENTLYbuiltin/ git.c | +3 | 0 replies | |
| 15/18 | help: use RUN_SETUP_GENTLYbuiltin/ git.c | +1 | 0 replies | |
| 16/18 | ls-remote: use RUN_SETUP_GENTLYbuiltin/ git.c | +2 | 0 replies | |
| 17/18 | var: use RUN_SETUP_GENTLYbuiltin/ git.c | +1 | 0 replies | |
| 18/18 | merge-file: use RUN_SETUP_GENTLYbuiltin/ git.c | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/18] Search and set up repository early for builtin commands
This is a simpler part of my Git setup cleanup WIP [1], to introduce RUN_SETUP_GENTLY and make most of commands use it.
The commands that do not have RUN_SETUP* are:
- Init/Clone commands
- Server commands
- Helpers that have nothing to do with repositories
- git-rev-parse
[1] http://mid.gmane.org/[email protected]
Nguyễn Thái Ngọc Duy (18):
builtin: introduce startup_info struct
builtin: Support RUN_SETUP_GENTLY to set up repository early if found
config: use RUN_SETUP_GENTLY
hash-object: use RUN_SETUP_GENTLY
shortlog: use RUN_SETUP_GENTLY
grep: use RUN_SETUP_GENTLY
builtin: USE_PAGER should not be used without RUN_SETUP*
archive: use RUN_SETUP_GENTLY
mailinfo: use RUN_SETUP_GENTLY
check-ref-format: use RUN_SETUP_GENTLY
verify-pack: use RUN_SETUP_GENTLY
apply: use RUN_SETUP_GENTLY
bundle: use RUN_SETUP_GENTLY
diff: use RUN_SETUP_GENTLY
help: use RUN_SETUP_GENTLY
ls-remote: use RUN_SETUP_GENTLY
var: use RUN_SETUP_GENTLY
merge-file: use RUN_SETUP_GENTLY
builtin/apply.c | 7 ++--- builtin/archive.c | 2 +- builtin/bundle.c | 6 +--- builtin/config.c | 6 +--- builtin/diff.c | 6 +--- builtin/grep.c | 9 ++----- builtin/hash-object.c | 9 ++++--- builtin/help.c | 2 - builtin/ls-remote.c | 3 -- builtin/mailinfo.c | 3 -- builtin/merge-file.c | 4 +-- builtin/shortlog.c | 4 +-- builtin/var.c | 2 - cache.h | 7 +++++ environment.c | 1 + git.c | 61 ++++++++++++++++++++++++++++--------------------- setup.c | 14 ++++++++++- 17 files changed, 76 insertions(+), 70 deletions(-)