commit 529311cec7b78bfd62d9b9072def6bfeaff73057 (tree)
parent 5f387d4783c1cbf147ef3e23334a325bbd83ae13
Author: Tim Pope <code@tpope.net>
Date: Tue, 14 Sep 2021 02:12:50 -0400
Fix check for wrong executable
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim
@@ -1222,7 +1222,7 @@ let s:remote_headers = {}
function! fugitive#RemoteHttpHeaders(remote) abort
let remote = type(a:remote) ==# type({}) ? get(a:remote, 'remote', '') : a:remote
- if type(remote) !=# type('') || remote !~# '^https\=://.' || !s:executable('cremote')
+ if type(remote) !=# type('') || remote !~# '^https\=://.' || !s:executable('curl')
return {}
endif
if !has_key(s:remote_headers, remote)