wbthomason / packer.nvim

A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
MIT License
7.72k stars 262 forks source link

Packer warns about breaking commits later than the one we've asked to install #1089

Open andrewferrier opened 1 year ago

andrewferrier commented 1 year ago

Steps to reproduce

  1. Create packer configuration like this:

    use({ "elihunter173/dirbuf.nvim", commit = "e0044552", })

  2. Sync the configuration (with preview_updates = true) and compile.

Actual behaviour

See a warning message "[packer.nvim] [WARN 19:12:46] display.lua:610: Potential breaking change in commit 11cd751 of elihunter173/dirbuf.nvim"

Expected behaviour

See no warning message. Technically, the warning message is correct, but the breaking change is in a LATER commit than the one I'm pinning dirbuf.nvim too (in this case, the pin is to work round a bug, but the reason for the pinning is orthogonal to this issue)

packer files

Post the contents of ~/.cache/nvim/packer.nvim.log here

[WARN  Mon 10 Oct 19:12:46 2022 38758893461500] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:610: Potential breaking change in commit 11cd751 of elihunter173/dirbuf.nvim