fix: opts.git_command for files, commits, bcommits (#1374)
This commit is contained in:
@@ -848,6 +848,8 @@ builtin.git_files({opts}) *builtin.git_files()*
|
||||
{recurse_submodules} (boolean) if true, adds the
|
||||
`--recurse-submodules` flag to command
|
||||
(default: false)
|
||||
{git_command} (table) command that will be exectued.
|
||||
{"git","ls-files","--exclude-standard","--cached"}
|
||||
|
||||
|
||||
builtin.git_commits({opts}) *builtin.git_commits()*
|
||||
@@ -866,6 +868,8 @@ builtin.git_commits({opts}) *builtin.git_commits()*
|
||||
{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)
|
||||
{git_command} (table) command that will be exectued.
|
||||
{"git","log","--pretty=oneline","--abbrev-commit","--","."}
|
||||
|
||||
|
||||
builtin.git_bcommits({opts}) *builtin.git_bcommits()*
|
||||
@@ -886,6 +890,8 @@ builtin.git_bcommits({opts}) *builtin.git_bcommits()*
|
||||
(important for submodule) (default: true)
|
||||
{current_file} (string) specify the current file that should be used
|
||||
for bcommits (default: current buffer)
|
||||
{git_command} (table) command that will be exectued.
|
||||
{"git","log","--pretty=oneline","--abbrev-commit"}
|
||||
|
||||
|
||||
builtin.git_branches({opts}) *builtin.git_branches()*
|
||||
|
||||
Reference in New Issue
Block a user