Rename #Prepare to #ShellCommand

Shell commands are on their way out.  Let's start reclaiming this verb.
This commit is contained in:
Tim Pope committed 2021-08-10 00:35:17 -04:00
1 parent 371a5062d3
commit d1970112f4
2 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -134,7 +134,7 @@ endfunction
" it will be used as the Git dir. If it's a buffer number, the Git dir for
" that buffer will be used. The default is the current buffer.
function! FugitivePrepare(...) abort
return call('fugitive#Prepare', a:000)
return call('fugitive#ShellCommand', a:000)
endfunction
" FugitiveConfig() get returns an opaque structure that can be passed to other