feat(pickers): add opt.show_remote_tracking_branches to git_branches (#2314)

This commit is contained in:
Matt Taylor
2023-01-11 06:00:44 -08:00
committed by GitHub
parent e8c01bab91
commit 1ba7278cf0
3 changed files with 18 additions and 5 deletions

View File

@@ -1028,10 +1028,17 @@ builtin.git_branches({opts}) *telescope.builtin.git_branches()*
{opts} (table) options to pass to the picker
Options: ~
{cwd} (string) specify the path of the repo
{use_git_root} (boolean) if we should use git root as cwd or the cwd
(important for submodule) (default: true)
{pattern} (string) specify the pattern to match all refs
{cwd} (string) specify the path of the
repo
{use_git_root} (boolean) if we should use git root
as cwd or the cwd
(important for submodule)
(default: true)
{show_remote_tracking_branches} (boolean) show remote tracking
branches like origin/main
(default: true)
{pattern} (string) specify the pattern to
match all refs
builtin.git_status({opts}) *telescope.builtin.git_status()*