mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-12 13:23:52 -05:00
Don't strip trailing slash from URLs
This commit is contained in:
@@ -2178,7 +2178,7 @@ function! s:Edit(cmd, bang, mods, args, ...) abort
|
|||||||
catch /^fugitive:/
|
catch /^fugitive:/
|
||||||
return 'echoerr v:errmsg'
|
return 'echoerr v:errmsg'
|
||||||
endtry
|
endtry
|
||||||
if file !~# '^fugitive:'
|
if file !~# '^\a\a\+:'
|
||||||
let file = s:sub(file, '/$', '')
|
let file = s:sub(file, '/$', '')
|
||||||
endif
|
endif
|
||||||
if a:cmd ==# 'edit'
|
if a:cmd ==# 'edit'
|
||||||
|
|||||||
Reference in New Issue
Block a user