mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-12 05:13:53 -05:00
Add git_dir key to :GBrowse API
This enables passing the whole options dictionary to helpers like FugitiveWorkTree().
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user