From 75ca90739bf5959fc99a9e498f1a400796be5232 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Wed, 9 Jan 2019 14:01:54 -0500 Subject: [PATCH] Ignore warnings in `git status --porcelain` --- autoload/fugitive.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index c03934f..62978d9 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1400,6 +1400,9 @@ function! fugitive#BufReadStatus() abort let file = line[3:-1] let files = file let i += 1 + if line[2] !=# ' ' + continue + endif if line[0:1] =~# '[RC]' let files = output[i] . ' -> ' . file let i += 1