Remove duplicate b:fugitive_status initialization
This commit is contained in:
parent
c7e3df5283
commit
54f155218a
@ -1688,14 +1688,11 @@ function! fugitive#BufReadStatus() abort
|
|||||||
endif
|
endif
|
||||||
if line[0] !~# '[ ?!#]'
|
if line[0] !~# '[ ?!#]'
|
||||||
call add(staged, {'type': 'File', 'status': line[0], 'filename': files})
|
call add(staged, {'type': 'File', 'status': line[0], 'filename': files})
|
||||||
let b:fugitive_status['Staged'][files] = line[0]
|
|
||||||
endif
|
endif
|
||||||
if line[0:1] ==# '??'
|
if line[0:1] ==# '??'
|
||||||
call add(untracked, {'type': 'File', 'status': line[1], 'filename': files})
|
call add(untracked, {'type': 'File', 'status': line[1], 'filename': files})
|
||||||
let b:fugitive_status['Unstaged'][files] = line[1]
|
|
||||||
elseif line[1] !~# '[ !#]'
|
elseif line[1] !~# '[ !#]'
|
||||||
call add(unstaged, {'type': 'File', 'status': line[1], 'filename': files})
|
call add(unstaged, {'type': 'File', 'status': line[1], 'filename': files})
|
||||||
let b:fugitive_status['Unstaged'][files] = line[1]
|
|
||||||
endif
|
endif
|
||||||
endwhile
|
endwhile
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user