diff options
| author | Evgeni Chasnovski <evgeni.chasnovski@gmail.com> | 2026-05-17 10:49:48 +0300 |
|---|---|---|
| committer | Evgeni Chasnovski <evgeni.chasnovski@gmail.com> | 2026-05-17 10:49:48 +0300 |
| commit | 8d100483e0662916cd30e99ceb7216532c58f903 (patch) | |
| tree | 1db557fff7f0cb2a6479f3935f2dcb363433b27c /runtime/autoload/pythoncomplete.vim | |
| parent | 7d99104058fd2653903830c2b39b42d80092e646 (diff) | |
| download | rneovim-8d100483e0662916cd30e99ceb7216532c58f903.tar.gz rneovim-8d100483e0662916cd30e99ceb7216532c58f903.tar.bz2 rneovim-8d100483e0662916cd30e99ceb7216532c58f903.zip | |
feat(pack): update `get()` to take `rev` from actual repo if `info=true`
Problem: `vim.pack.get()` always uses lockfile as the source for the
`rev` field. This is fast, but may be misleading in case of
a corrupted lockfile.
Solution: Compute revision from Git repo on disk if `info=true`
(default), use lockfile otherwise. This does increase execution time
(as a result of one extra `git ...` call for every plugin), but
`info=true` is already designed to be informative and not necessarily
fast.
Diffstat (limited to 'runtime/autoload/pythoncomplete.vim')
0 files changed, 0 insertions, 0 deletions