From 529311cec7b78bfd62d9b9072def6bfeaff73057 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 14 Sep 2021 02:12:50 -0400 Subject: [PATCH] Fix check for wrong executable --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 3d431cf..fe7a927 100644 --- 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)