Remove #Repo and #Buffer

Let's save these for when we're ready to rename the instance variables
too.
This commit is contained in:
Tim Pope 2018-05-19 19:30:08 -04:00
parent 994d781f90
commit 2a4714335f

View File

@ -308,10 +308,6 @@ function! fugitive#repo(...) abort
return call('s:repo', a:000)
endfunction
function! fugitive#Repo(...) abort
return call('s:repo', a:000)
endfunction
function! s:repo_dir(...) dict abort
return join([self.git_dir]+a:000,'/')
endfunction
@ -571,10 +567,6 @@ function! fugitive#buffer(...) abort
return s:buffer(a:0 ? a:1 : '%')
endfunction
function! fugitive#Buffer(...) abort
return s:buffer(a:0 ? a:1 : '%')
endfunction
function! s:buffer_getvar(var) dict abort
return getbufvar(self['#'],a:var)
endfunction