Merge branch 'fast-git' of github.com:mattn/vim-plug into fast-git
This commit is contained in:
commit
28ede474b9
3
plug.vim
3
plug.vim
|
@ -193,6 +193,7 @@ function! s:git_get_revision(dir) abort
|
||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
endif
|
endif
|
||||||
|
return l:line
|
||||||
catch
|
catch
|
||||||
endtry
|
endtry
|
||||||
return ''
|
return ''
|
||||||
|
@ -208,7 +209,7 @@ function! s:git_get_branch(dir) abort
|
||||||
if line =~# '^ref: refs/heads/'
|
if line =~# '^ref: refs/heads/'
|
||||||
return line[16:]
|
return line[16:]
|
||||||
endif
|
endif
|
||||||
return ''
|
return 'HEAD'
|
||||||
catch
|
catch
|
||||||
return ''
|
return ''
|
||||||
endtry
|
endtry
|
||||||
|
|
Loading…
Reference in New Issue
Block a user