diff options
| author | Evgeni Chasnovski <evgeni.chasnovski@gmail.com> | 2026-01-12 22:57:38 +0200 |
|---|---|---|
| committer | Evgeni Chasnovski <evgeni.chasnovski@gmail.com> | 2026-01-12 22:57:38 +0200 |
| commit | bac4cde9cd43dcb1bb962d71f3f9253813a701a3 (patch) | |
| tree | 26c50c7729953ad490e9f5eac14bad5b90d4964c /test/functional/vimscript/executable_spec.lua | |
| parent | 09edb145f5f3d10aadc9ba45358cdb1a0f166534 (diff) | |
| download | rneovim-bac4cde9cd43dcb1bb962d71f3f9253813a701a3.tar.gz rneovim-bac4cde9cd43dcb1bb962d71f3f9253813a701a3.tar.bz2 rneovim-bac4cde9cd43dcb1bb962d71f3f9253813a701a3.zip | |
fix(pack): actually checkout proper version of submodules
Problem: Installing plugin with submodules doesn't check out their
state (due to `git clone --no-checkout` to not end up with default
branch code in case of invalid `version`).
Updating a plugin with submodules doesn't update their state.
Solution: Update `git_checkout` helper to account for submodules.
Another approach would be `git checkout --recurse-submodules ...`,
but that doesn't seem to allow `--filter=blob:none` for submodules,
which is nice to have.
Also make `git_clone` wrapper simpler since `--no-checkout` makes
`--recurse-submodules` and `--also-filter-submodules` do nothing.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions