Closed hexium310 closed 4 years ago
sorry. It is the feature.
dein#check_update()
is not perfect solution.
dein does not save the repository update time, so it uses .git
directory timestamp.
If you have better implementation, please send the PR.
Please test https://github.com/Shougo/dein.vim/pull/385 changes.
I checked that the plugins updated after git reset
. Thank you.
OK. Merged.
Problems summary
When the command that updates the timestamp of
.git
(e.g.git reset --hard HEAD~
) was run in a plugin directory, a plugin sometimes doesn't update withdein#check_update()
. This issue occur when the timestamp of.git
after running command is newer thanpushedAt
of its repository.Expected
Environment Information (Required!)
dein.vim version(SHA1): 0c96f85
OS: macOS 10.14.6
Vim/neovim version: NVIM v0.5.0-639-g46e74142a
Provide a minimal .vimrc with less than 50 lines (Required!)
The reproduce ways from Vim starting (Required!)
:call dein#update()
:call dein#check_update(v:true)