Skip to content

Commit

Permalink
Fix wrong variable name in fugitive#RemoteUrl()
Browse files Browse the repository at this point in the history
Resolves: #1843
  • Loading branch information
tpope committed Sep 23, 2021
1 parent 1352646 commit 142a0dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/fugitive.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 142a0dc

Please sign in to comment.