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, '\', '/')