diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 5513a7b..c645926 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -2531,6 +2531,7 @@ function! s:StageInfo(...) abort \ 'paths': map(reverse(split(text, ' -> ')), 's:Tree() . "/" . v:val'), \ 'commit': matchstr(getline(lnum), '^\%(\%(\x\x\x\)\@!\l\+\s\+\)\=\zs[0-9a-f]\{4,\}\ze '), \ 'status': matchstr(getline(lnum), '^[A-Z?]\ze \|^\%(\x\x\x\)\@!\l\+\ze [0-9a-f]'), + \ 'sub': get(get(get(b:fugitive_files, section, {}), text, {}), 'sub', ''), \ 'index': index} endfunction