Provide Git dir to browse handlers

This commit is contained in:
Tim Pope 2018-07-21 19:40:26 -04:00
parent cb49f8b4be
commit 445a8160d2

View File

@ -2524,6 +2524,7 @@ function! s:Browse(bang,line1,count,...) abort
for Handler in g:fugitive_browse_handlers for Handler in g:fugitive_browse_handlers
let url = call(Handler, [{ let url = call(Handler, [{
\ 'dir': b:git_dir,
\ 'repo': s:repo(), \ 'repo': s:repo(),
\ 'remote': raw, \ 'remote': raw,
\ 'revision': 'No longer provided', \ 'revision': 'No longer provided',