Closed AlxHnr closed 2 years ago
:PlugSnapshot is supposed to dump the state of all my plugins in a deterministic way. But after sourcing the resulting snapshot script and running :PlugSnapshot again, the output contains no commit hashes. Here is how to reproduce this problem:
:PlugSnapshot
PlugSnapshot! /tmp/snapshot.vim source /tmp/snapshot.vim PlugSnapshot! /tmp/snapshot.vim
Output of the last PlugSnapshot:
PlugSnapshot
" Generated by vim-plug " Sat Apr 2 14:57:59 2022 " :source this file in vim to restore the snapshot " or execute: vim -S snapshot.vim PlugUpdate!
NVIM v0.5.1 Build type: RelWithDebInfo LuaJIT 2.1.0-beta3 Compilation: /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/builddir/build/BUILD/neovim-0.5.1/x86_64-redhat-linux-gnu/config -I/builddir/build/BUILD/neovim-0.5.1/src -I/usr/include -I/usr/include/luajit-2.1 -I/builddir/build/BUILD/neovim-0.5.1/x86_64-redhat-linux-gnu/src/nvim/auto -I/builddir/build/BUILD/neovim-0.5.1/x86_64-redhat-linux-gnu/include Compiled by mockbuild@koji Features: +acl +iconv +tui See ":help feature-compile" system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/share/nvim" Run :checkhealth for more info
Thanks for the report. Should be fixed now.
:PlugSnapshot
is supposed to dump the state of all my plugins in a deterministic way. But after sourcing the resulting snapshot script and running:PlugSnapshot
again, the output contains no commit hashes. Here is how to reproduce this problem:Output of the last
PlugSnapshot
: