fix: git stash entry formatting (#1452)

This commit is contained in:
Farbod Salamat-Zadeh
2021-12-06 20:20:37 +00:00
committed by GitHub
parent a20f01353b
commit 6b1579741a
4 changed files with 34 additions and 6 deletions

View File

@@ -72,7 +72,8 @@ git.commits = function(opts)
end
git.stash = function(opts)
opts.entry_maker = vim.F.if_nil(opts.entry_maker, make_entry.gen_from_git_stash())
opts.show_branch = vim.F.if_nil(opts.show_branch, true)
opts.entry_maker = vim.F.if_nil(opts.entry_maker, make_entry.gen_from_git_stash(opts))
pickers.new(opts, {
prompt_title = "Git Stash",