Adds vundle-before-update tag to unbreak plugins after updates#832
Open
dbosk wants to merge 3 commits intoVundleVim:masterfrom
Open
Adds vundle-before-update tag to unbreak plugins after updates#832dbosk wants to merge 3 commits intoVundleVim:masterfrom
dbosk wants to merge 3 commits intoVundleVim:masterfrom
Conversation
Sometimes plugins break after update. In those cases it's difficult to restore the plugin to its previous version. With this commit Vundle will create a tag (`vundle-before-update`) which keeps track of the commit used before an update. This makes it easy to go back to use the previous version.
Member
|
@dbosk This is an interesting suggestion/idea. Maybe it would be better as an optional (and default not turned on) feature? |
Author
|
Yes, it would make sense to have it as an option. My Vim-script skills
are too limited for that though and I have too limited time right now,
so it will take me a while. But I suppose we're not in a hurry :-)
I'm not sure what default would be the best though. Off makes sense,
then the current default behaviour would not change (desirable). On the
other hand, one only starts looking for this type of feature once
something has broken, in which case it would be nice to find it turned
on already.
Anyway, off by default is probably best for a first version. I'll update
the pull request once I've managed to change it to an option.
…On Fri 10 Nov 2017 23:11:46 GMT, Ryan L McIntyre wrote:
@dbosk This is an interesting suggestion/idea. Maybe it would be
better as an optional (and default not turned on) feature?
|
This way we can have multiple backups.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sometimes plugins break after update. In those cases it's difficult to restore the plugin to its previous version. With this commit Vundle will create a tag (
vundle-before-update) which keeps track of the commit used before an update. This makes it easy to go back to use the previous version.Maybe it's better to timestamp the tags, e.g.
vundle-update-TIME, but having one level of undo is sufficient to solve the problem.Comments are appreciated.