-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wildcard tag doesn't play well with :PlugUpdate
when tags are detached ones.
#719
Comments
:PlugUpdate
:PlugUpdate
when tags are detached ones.
Looks like it is due to default Quote from git doc,
|
Another related issue is that when using tag spec, it clones whole repo instead of a shadow clone. Line 1342 in 96375cb
In use cases of https://github.com/autozimu/LanguageClient-neovim/tags, the whole purpose of using differnt tags for different binary distributions is to reduce users's initial download size. |
Thanks for the report. Looks like the method vim-plug internally uses does not work with "detached" tags. And the reason vim-plug does not perform shallow clone when I'm currently not committed to looking for a solution since I don't use any plugin that has the issue, and I don't have free time to work on this at the moment. Patches are welcome, given that they don't make the code much more complex. Thanks. |
(I was under the impression that this plugin supports wildcard tag releases properly, so correct me if I am wrong.)
:PlugUpdate
seems won't fetch latest tags when the plugin has property of wildcard tag.With this minimal vimrc
:PlugInstall
. This will install the plugin properly.release-0.2
. The tag is slightly irregular. It works like this(Note at this point, only tags are pushed. Current branch HEAD is not pushed.)
3. Run
:PlugUpdate
.At this point, the plugin is not updated, while it is expected to update to
release-0.2
.(This affects autozimu/LanguageClient-neovim#239)
Neovim version
Edit: only detached tags can reproduce this issue.
The text was updated successfully, but these errors were encountered: