diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index c06e51e..ddf78d8 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -717,11 +717,11 @@ function! s:stage_info(lnum) abort endwhile if !lnum return ['', ''] - elseif getline(lnum+1) =~# '^# .*"git \%(reset\|rm --cached\) ' || getline(lnum) ==# '# Changes to be committed:' + elseif getline(lnum+1) =~# '^# .*\