Fix inline diffs including submodule logs
Closes https://github.com/tpope/vim-fugitive/issues/1151
This commit is contained in:
parent
fa6d7886e7
commit
6cf448324c
@ -2125,7 +2125,7 @@ function! s:StageInline(mode, ...) abort
|
|||||||
if mode ==# 'await' && line[0] ==# '@'
|
if mode ==# 'await' && line[0] ==# '@'
|
||||||
let mode = 'capture'
|
let mode = 'capture'
|
||||||
endif
|
endif
|
||||||
if line[0] ==# 'd'
|
if mode !=# 'head' && line !~# '^[ @+-]'
|
||||||
if len(diff)
|
if len(diff)
|
||||||
break
|
break
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user