Ignore warnings in git status --porcelain

This commit is contained in:
Tim Pope 2019-01-09 14:01:54 -05:00
parent 5a1c8bbe46
commit 75ca90739b

View File

@ -1400,6 +1400,9 @@ function! fugitive#BufReadStatus() abort
let file = line[3:-1] let file = line[3:-1]
let files = file let files = file
let i += 1 let i += 1
if line[2] !=# ' '
continue
endif
if line[0:1] =~# '[RC]' if line[0:1] =~# '[RC]'
let files = output[i] . ' -> ' . file let files = output[i] . ' -> ' . file
let i += 1 let i += 1