From 7c0a7727c14650be13b9cd2fe75f770718135d60 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 22 Aug 2021 02:44:08 -0400 Subject: [PATCH] Allow FugitiveRemoteUrl(name, ':noresolve') --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 02ae80c..04d12a3 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1155,7 +1155,7 @@ function! fugitive#RemoteUrl(...) abort if type(a:1) ==# type({}) && has_key(a:1, 'remote_name') && (type(get(args, 0, 0)) !=# type('') || args[0] =~# '^:') call insert(args, a:1.remote_name) endif - elseif a:0 > 1 + elseif a:0 > 1 && a:2 !~# '^:' let config = fugitive#Config(a:2) let args = [a:1] + a:000[2:-1] else