From 142a0dc0c472016988d3fc76d055f4b00bf783f1 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Thu, 23 Sep 2021 04:39:47 -0400 Subject: [PATCH] Fix wrong variable name in fugitive#RemoteUrl() Resolves: https://github.com/tpope/vim-fugitive/pull/1843 --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 25be7f5854..f32b3ea382 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1360,7 +1360,7 @@ function! fugitive#RemoteUrl(...) abort break endif endfor - if index(args, 1) < 0 && index(args, get(v:, 'true', 1)) < 0 && index(args, ':noresolve') < 0 + if index(flags, 1) < 0 && index(flags, get(v:, 'true', 1)) < 0 && index(flags, ':noresolve') < 0 let url = fugitive#ResolveRemote(url) endif return url