Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions autoload/vundle/installer.vim
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ func! s:make_sync_command(bang, bundle) abort

let cmd_parts = [
\ 'cd '.vundle#installer#shellesc(a:bundle.path()),
\ 'git tag -f vundle-'.strftime('%Y%m%d-%H%M'),
\ 'git pull',
\ 'git submodule update --init --recursive',
\ ]
Expand Down
10 changes: 10 additions & 0 deletions doc/vundle.txt
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,16 @@ To update specific plugins, write their names separated by space:
or >
:PluginUpdate vim-surround vim-fugitive

The command `git tag` will be used to tag the commit that was used before any
update (i.e. before `git pull` is run). The tag is named `update-<strftime>`
(today's date and time). If a plugin breaks after update, go to its
directory, check for the latest tag using `git tag` and run

`git checkout vundle-<somedatetime> && \`
`git submodule update --init --recursive`

Then mark it as 'pinned' in `.vimrc`.

3.5 SEARCHING PLUGINS ~
*vundle-plugins-search* *:PluginSearch*
>
Expand Down