mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-12-08 04:54:52 +08: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
|
endif
|
||||||
|
|
||||||
let opts = {
|
let opts = {
|
||||||
|
\ 'git_dir': dir,
|
||||||
\ 'dir': dir,
|
\ 'dir': dir,
|
||||||
\ 'repo': fugitive#repo(dir),
|
\ 'repo': fugitive#repo(dir),
|
||||||
\ 'remote': raw,
|
\ 'remote': raw,
|
||||||
|
|||||||
Reference in New Issue
Block a user