From 1a765a46c12cbbf23925054b96251d5f07bb9fa8 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sat, 3 Apr 2021 18:37:23 -0400 Subject: [PATCH] Add git_dir key to :GBrowse API This enables passing the whole options dictionary to helpers like FugitiveWorkTree(). --- autoload/fugitive.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 5d9e063..720ff07 100644 --- 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,