Add git_dir key to :GBrowse API

This enables passing the whole options dictionary to helpers like
FugitiveWorkTree().
This commit is contained in:
Tim Pope
2021-04-03 18:37:23 -04:00
parent 5a54ea4333
commit 1a765a46c1

View File

@@ -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,