Files
neovim/runtime/lua/vim
Evgeni Chasnovski c3ac329c7a fix(pack)!: ensure plugin is fully absent if not fully installed
Problem: Currently it is possible to have plugin in a "partial install"
  state when `git clone` was successfull but `git checkout` was not.
  This was done to not checkout default branch by default in these
  situations (for security reasons).

  The problem is that it adds complexity when both dealing with lockfile
  (plugin's `rev` might be `nil`) and in how `src` and `version` are
  treated (wrong `src` - no plugin on disk; wrong `version` - "partial"
  plugin on disk).

Solution: Treat plugin as "installed" if both `git clone` and
  `git checkout` are successful, while ensuring that not installed
  plugins are not on disk and in lockfile.

  This also means that if in 'init.lua' there is a `vim.pack.add()` with
  bad `version`, for first install there will be an informative error
  about it BUT next session will also try to install it. The solution is
  the same - adjust `version` beforehand.
2025-11-17 12:47:29 +02:00
..
2025-11-16 20:36:07 -08:00
2025-11-16 20:36:07 -08:00
2025-08-17 11:54:53 +08:00
2025-10-12 12:16:14 +08:00
2025-06-06 15:36:48 +01:00
2025-11-15 22:47:38 -05:00
2025-11-15 22:47:38 -05:00
2025-09-16 11:41:36 +08:00
2025-10-24 02:07:37 +02:00
2025-09-16 11:41:36 +08:00
2025-06-14 17:24:36 +02:00