mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-13 13:53:51 -05:00
Ignore warnings in git status --porcelain
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user