Skip to content

Commit

Permalink
feature: Upgrade plug
Browse files Browse the repository at this point in the history
  • Loading branch information
jvortmann committed Apr 10, 2017
1 parent 2a30814 commit 50b3b84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/plug.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ function! s:update_finish()
elseif has_key(spec, 'tag')
let tag = spec.tag
if tag =~ '\*'
let tags = s:lines(s:system('git tag --list '.string(tag).' --sort -version:refname 2>&1', spec.dir))
let tags = s:lines(s:system('git tag --list '.s:shellesc(tag).' --sort -version:refname 2>&1', spec.dir))
if !v:shell_error && !empty(tags)
let tag = tags[0]
call s:log4(name, printf('Latest tag for %s -> %s', spec.tag, tag))
Expand Down

0 comments on commit 50b3b84

Please sign in to comment.