if buflisted(l:status_buffer)
execute 'bdelete '.l:status_buffer
else
- Git
- 16wincmd_
+ execute 'Git'
+ if !empty(FugitiveGitDir())
+ " only resize status if Git was sucessful
+ 16wincmd_
+ endif
endif
endfunction
command! GitToggle :call GitToggle()