mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-13 13:53:51 -05:00
@@ -2295,9 +2295,9 @@ function! s:Browse(bang,line1,count,...) abort
|
|||||||
|
|
||||||
if empty(remote)
|
if empty(remote)
|
||||||
let remote = '.'
|
let remote = '.'
|
||||||
let raw = s:repo().git_chomp('config','remote.origin.url')
|
let raw = s:repo().git_chomp('remote','get-url','origin')
|
||||||
else
|
else
|
||||||
let raw = s:repo().git_chomp('config','remote.'.remote.'.url')
|
let raw = s:repo().git_chomp('remote','get-url',remote)
|
||||||
endif
|
endif
|
||||||
if raw ==# ''
|
if raw ==# ''
|
||||||
let raw = remote
|
let raw = remote
|
||||||
|
|||||||
Reference in New Issue
Block a user