commit 1a765a46c12cbbf23925054b96251d5f07bb9fa8 (tree)
parent 5a54ea433342ac26709577c04641a6ffc2994738
Author: Tim Pope <code@tpope.net>
Date: Sat, 3 Apr 2021 18:37:23 -0400
Add git_dir key to :GBrowse API
This enables passing the whole options dictionary to helpers like
FugitiveWorkTree().
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim
@@ -6232,6 +6232,7 @@ function! fugitive#BrowseCommand(line1, count, range, bang, mods, arg, args) abo
endif
let opts = {
+ \ 'git_dir': dir,
\ 'dir': dir,
\ 'repo': fugitive#repo(dir),
\ 'remote': raw,