mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-13 08:29:03 +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:
1 parent
5a54ea4333
commit
1a765a46c1
1 file changed
+1
@@ -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