RFC Allow adding .git files and directories
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 24 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dir/read-cache: Allow adding .git files and directoriesdir.c read-cache.c | +37 | 0 replies | |
| 2/2 | dir: Recurse into nested git repos if they aren't submodulesdir.c | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/2] Allow adding .git files and directories
Hello Everyone,
There have been some requests in the past to allow adding .git files and directries and nested git repositories as files to a git repository. Usecases range from including prepared git repos to run tests on to managing arbitrary files (which may contain git repos) with git/git-annex.
These patches allow this and work well in a quick test. Of course some tests fail because with this the handling of nested git repos changed. For example t0008-ignores.sh fails, because in the test repo, the nested git repo is not added as a submodule and now the files in it aren't ignored.
Now, should the new handling be put behind a configuration variable (allow-dotgit?) or is the change ok as is and the tests should be fixed?
Regards,
Lukas Straub
Lukas Straub (2):
dir/read-cache: Allow adding .git files and directories
dir: Recurse into nested git repos if they aren't submodules
dir.c | 9 ++++---- read-cache.c | 59 +++++++++++++++++++++++++++++++--------------------- 2 files changed, 39 insertions(+), 29 deletions(-)
Signature · 1 line
2.28.0.217.ge805fe7219