Use case-sensitive match
This commit is contained in:
parent
8863a3a53c
commit
afe7dc6f8f
1 changed files with 1 additions and 1 deletions
2
plug.vim
2
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: ' .
|
||||
|
|
Loading…
Reference in a new issue