Return '' for FugitiveRoute('')

This commit is contained in:
Tim Pope
2018-08-19 17:49:45 -04:00
parent ed36717a68
commit ae2005adbb
2 changed files with 3 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ function! FugitiveReal(...) abort
endfunction
function! FugitiveRoute(...) abort
return fugitive#Route(a:0 ? a:1 : '', FugitiveGitDir(a:0 > 1 ? a:2 : -1))
return fugitive#Route(a:0 ? a:1 : ':/', FugitiveGitDir(a:0 > 1 ? a:2 : -1))
endfunction
function! FugitivePath(...) abort