fix: opts.git_command for files, commits, bcommits (#1374)

This commit is contained in:
Simon Hauser
2021-10-24 08:30:31 +02:00
committed by GitHub
parent 09b0d87b9f
commit f31ef36293
3 changed files with 23 additions and 29 deletions

View File

@@ -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()*