Junegunn Choi 11 лет назад
Родитель
Сommit
afe7dc6f8f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      plug.vim

+ 1 - 1
plug.vim

@@ -713,7 +713,7 @@ function! s:git_valid(spec, check_branch, cd)
       let ret = 0
     elseif a:check_branch
       let branch = result[0]
-      let tag = a:spec.branch == 'master' ? '' :
+      let tag = a:spec.branch ==# 'master' ? '' :
             \ s:system_chomp('git describe --exact-match --tags HEAD 2>&1')
       if a:spec.branch != branch && a:spec.branch != tag
         let msg = 'Invalid branch/tag: ' .