hunks: remove test for empty branch for changes plugin

Because changes plugin does not rely on git
Also remove the test of the local variable for the changes plugin
whether it is enabled or not, this is taken care of in the changes
plugin
This commit is contained in:
Christian Brabandt 2020-03-29 19:04:00 +02:00
parent c70f3da583
commit 5a490dd9ac
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
1 changed files with 0 additions and 3 deletions

View File

@ -50,9 +50,6 @@ function! s:get_hunks_gitgutter() abort
endfunction
function! s:get_hunks_changes() abort
if !get(b:, 'changes_view_enabled', 0) || s:is_branch_empty()
return []
endif
let hunks = changes#GetStats()
return hunks == [0, 0, 0] ? [] : hunks
endfunction