motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit 245ce889e2a6eb318cec865cf787e7bb0cb8aa95 (tree)
parent 444ba9fda5d05aa14c7e8664fa4a66a59c62a550
Author: fREW Schmidt <github@frew.co>
Date:   Tue,  7 Feb 2017 15:49:17 -0800

Support insteadOf for Gbrowse (#874)

Fixes #873
Diffstat:
Mplugin/fugitive.vim | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim @@ -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