recursively grep across submodules
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest7 patches 1 replyIn review
- v66 patches 25 repliesSuperseded
- v56 patches 5 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 6 patches | 10 replies | Superseded | |
| v3 | 6 patches | 14 replies | Superseded | |
| v2 | 6 patches | 13 replies | Superseded | |
| v1 RFC | 5 patches | 9 replies | Superseded |
Changes in v7 from the cover letter
* Rebased on 'origin/bw/realpath-wo-chdir' in order to fix the race condition that occurs when verifying a submodule's gitdir.
* Reverted is_submodule_populated() to use resolve_gitdir() now that there is no race condition.
* Added !MINGW to a test in t7814 so that it won't run on windows. This is due to testing if colons in filenames are still handled correctly, yet windows doesn't allow colons in filenames.
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | submodules: add helper to determine if a submodule is populatedsubmodule.c submodule.h | +16 | 0 replies | |
| 2/7 | submodules: add helper to determine if a submodule is initializedsubmodule.c submodule.h | +24 | 0 replies | |
| 3/7 | submodules: load gitmodules file from commit sha1cache.h config.c submodule-config.c +3 more | +25 | 0 replies | |
| 4/7 | grep: add submodules as a grep source typegrep.c grep.h | +16 | 0 replies | |
| 5/7 | grep: optionally recurse into submodulesDocumentation/ builtin/ git.c +1 more | +386 | 0 replies | |
| 6/7 | grep: enable recurse-submodules to work on <tree> objectsDocumentation/ builtin/ t/ +1 more | +211 | 0 replies | |
| 7/7 | grep: search history of moved submodulesbuiltin/ t/ | +59 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.
Cover letter [PATCH v7 0/7] recursively grep across submodules
Changes in v7:
* Rebased on 'origin/bw/realpath-wo-chdir' in order to fix the race condition that occurs when verifying a submodule's gitdir.
* Reverted is_submodule_populated() to use resolve_gitdir() now that there is no race condition.
* Added !MINGW to a test in t7814 so that it won't run on windows. This is due to testing if colons in filenames are still handled correctly, yet windows doesn't allow colons in filenames.
Brandon Williams (7):
submodules: add helper to determine if a submodule is populated
submodules: add helper to determine if a submodule is initialized
submodules: load gitmodules file from commit sha1
grep: add submodules as a grep source type
grep: optionally recurse into submodules
grep: enable recurse-submodules to work on <tree> objects
grep: search history of moved submodules
Documentation/git-grep.txt | 14 ++ builtin/grep.c | 386 ++++++++++++++++++++++++++++++++++--- cache.h | 2 + config.c | 8 +- git.c | 2 +- grep.c | 16 +- grep.h | 1 + submodule-config.c | 6 +- submodule-config.h | 3 + submodule.c | 50 +++++ submodule.h | 3 + t/t7814-grep-recurse-submodules.sh | 241 +++++++++++++++++++++++ tree-walk.c | 28 +++ 13 files changed, 729 insertions(+), 31 deletions(-) create mode 100755 t/t7814-grep-recurse-submodules.sh
Signature · 1 line
2.8.0.rc3.226.g39d4020