From 445a8160d2a6325c58cd72e0108d5b05438ea3dc Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sat, 21 Jul 2018 19:40:26 -0400 Subject: [PATCH] Provide Git dir to browse handlers --- autoload/fugitive.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index d57b4aa..9b51443 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -2524,6 +2524,7 @@ function! s:Browse(bang,line1,count,...) abort for Handler in g:fugitive_browse_handlers let url = call(Handler, [{ + \ 'dir': b:git_dir, \ 'repo': s:repo(), \ 'remote': raw, \ 'revision': 'No longer provided',