We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3936a74 commit 13fdeb5Copy full SHA for 13fdeb5
autoload/fugitive.vim
@@ -1724,6 +1724,10 @@ function! fugitive#BufReadStatus() abort
1724
endwhile
1725
endif
1726
1727
+ if empty(s:Tree())
1728
+ let [unstaged, untracked] = [[], []]
1729
+ endif
1730
+
1731
for dict in staged
1732
let b:fugitive_files['Staged'][dict.filename] = dict
1733
endfor
@@ -1820,6 +1824,9 @@ function! fugitive#BufReadStatus() abort
1820
1824
if push !=# pull
1821
1825
call s:AddHeader('Push', push)
1822
1826
1827
1828
+ call s:AddHeader('Bare', 'yes')
1829
1823
1830
call s:AddSection('Rebasing ' . rebasing_head, rebasing)
1831
call s:AddSection('Untracked', untracked)
1832
call s:AddSection('Unstaged', unstaged)
0 commit comments