Fix version regex
This commit is contained in:
parent
f395f3cbea
commit
7c40a18bfd
@ -2086,7 +2086,7 @@ function! s:BufReadIndex()
|
||||
else
|
||||
let cd = exists('*haslocaldir') && haslocaldir() ? 'lcd ' : 'cd '
|
||||
let dir = getcwd()
|
||||
if fugitive#git_version() =~# '^0\|1\.[1-7]\.'
|
||||
if fugitive#git_version() =~# '^0\|^1\.[1-7]\.'
|
||||
let cmd = s:repo().git_command('status')
|
||||
else
|
||||
let cmd = s:repo().git_command(
|
||||
|
Loading…
Reference in New Issue
Block a user