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 fd36aa9c61e06d71befdbe8931f97137c489b065 (tree)
parent 4dd41688cface81188fd67922533aa7aeddff191
Author: Tim Pope <code@tpope.net>
Date:   Fri,  8 Jan 2016 17:05:54 -0500

Fix issue extracting remote

Diffstat:
Mplugin/fugitive.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim @@ -2180,7 +2180,7 @@ call s:command("-bar -bang -range=0 -nargs=* -complete=customlist,s:EditComplete function! s:Browse(bang,line1,count,...) abort try - let validremote = '\.\|\.\=/.*\|[[:alnum:]_-]\+\%(://.\{-\}\)' + let validremote = '\.\|\.\=/.*\|[[:alnum:]_-]\+\%(://.\{-\}\)\=' if a:0 let remote = matchstr(join(a:000, ' '),'@\zs\%('.validremote.'\)$') let rev = substitute(join(a:000, ' '),'@\%('.validremote.'\)$','','')