From e7a33baccce0f26929ade73521bda2261989228b Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 26 Jun 2022 15:49:41 -0400 Subject: [PATCH] Sync up win32 and UNIX fugitive:// regexps Remove support for an optional second slash delimiter that was accidentally committed in the previous win32 change. --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index a4aabf3..3440de3 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -137,7 +137,7 @@ endfunction if exists('+shellslash') - let s:dir_commit_file = '\c^fugitive://\%(/[^/]\@=\)\=\(.\{-1,\}\)//\%(\(\x\{40,\}\|[0-3]\)/\=\(/.*\)\=\)\=$' + let s:dir_commit_file = '\c^fugitive://\%(/[^/]\@=\)\=\(.\{-1,\}\)//\%(\(\x\{40,\}\|[0-3]\)\(/.*\)\=\)\=$' function! s:Slash(path) abort return tr(a:path, '\', '/')