Show dirty submodules in Unstaged section
Closes https://github.com/tpope/vim-fugitive/issues/1204
This commit is contained in:
parent
a09e49d2bb
commit
f0acf3e883
@ -1690,7 +1690,7 @@ function! fugitive#BufReadStatus() abort
|
||||
call add(staged, {'type': 'File', 'status': line[0], 'filename': files})
|
||||
let b:fugitive_status['Staged'][files] = line[0]
|
||||
endif
|
||||
if line[1] =~# '?'
|
||||
if line[0:1] ==# '??'
|
||||
call add(untracked, {'type': 'File', 'status': line[1], 'filename': files})
|
||||
let b:fugitive_status['Unstaged'][files] = line[1]
|
||||
elseif line[1] !~# '[ !#]'
|
||||
|
Loading…
x
Reference in New Issue
Block a user