aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_async.lua
diff options
context:
space:
mode:
authorEvgeni Chasnovski <evgeni.chasnovski@gmail.com>2025-08-02 14:58:13 +0300
committerEvgeni Chasnovski <evgeni.chasnovski@gmail.com>2025-08-02 15:00:42 +0300
commit89a72f11e5fe8c06a2b8e8ae994359d3316ee576 (patch)
treecb9aa9fb0618c0c9c48337849971f8469a674a8c /runtime/lua/vim/_async.lua
parent6721128cc8341b9519a1b46eb8932524613cf7ed (diff)
downloadrneovim-89a72f11e5fe8c06a2b8e8ae994359d3316ee576.tar.gz
rneovim-89a72f11e5fe8c06a2b8e8ae994359d3316ee576.tar.bz2
rneovim-89a72f11e5fe8c06a2b8e8ae994359d3316ee576.zip
fix(pack): make newer version suggestions more robust
Problem: New version suggestions in update confirmation buffer might include semver tags that were committed later but for versions that are not greater than current. Like if versions committed in order `v0.2.0` - `v0.3.0` - `v0.2.1` - `v0.3.1`, then when on `v0.3.0` both `v0.2.1` and `v0.3.1` are suggested, but only the latter is newer as a version. This is because those tags are computed with post-processed `git tag --list --contains HEAD`. Solution: Compute all semver tags and filter only those greater than the latest version available at HEAD.
Diffstat (limited to 'runtime/lua/vim/_async.lua')
0 files changed, 0 insertions, 0 deletions