Provide FugitiveGitPath()

This commit is contained in:
Tim Pope committed 2019-08-19 09:04:32 -04:00
1 parent 2b6199594a
commit f29298880f
2 files changed
+9 -5

No files matched your search

+4
View File
@@ -222,6 +222,10 @@ function! FugitiveVimPath(path) abort
endif
endfunction
function! FugitiveGitPath(path) abort
return s:Slash(a:path)
endfunction
function! s:Slash(path) abort
if exists('+shellslash')
return tr(a:path, '\', '/')