From 79c2ded6a8a4a1941f72d372532eebbb076c555c Mon Sep 17 00:00:00 2001 From: Phelipe <39670535+phelipetls@users.noreply.github.com> Date: Thu, 2 Sep 2021 00:06:05 -0300 Subject: [PATCH] fix(picker): incorrect git stash picker command (#1195) * fix: should not use git log command in git stash picker * Update lua/telescope/builtin/git.lua Co-authored-by: tami5 <65782666+tami5@users.noreply.github.com> --- lua/telescope/builtin/git.lua | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lua/telescope/builtin/git.lua b/lua/telescope/builtin/git.lua index 6fa855f..a2be2fb 100644 --- a/lua/telescope/builtin/git.lua +++ b/lua/telescope/builtin/git.lua @@ -87,11 +87,9 @@ git.stash = function(opts) finder = finders.new_oneshot_job( vim.tbl_flatten { "git", - "log", - "--pretty=oneline", - "--abbrev-commit", - "--", - ".", + "--no-pager", + "stash", + "list", }, opts ),