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