diff options
| author | Phelipe <39670535+phelipetls@users.noreply.github.com> | 2021-09-02 00:06:05 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-02 06:06:05 +0300 |
| commit | 79c2ded6a8a4a1941f72d372532eebbb076c555c (patch) | |
| tree | e3656ebe9355f4c00ce260e4dea94c21c2848cd3 /lua/telescope/builtin/git.lua | |
| parent | 97b7e6095f20f3e6d5b40230306b1bbe3ae5be4f (diff) | |
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>
Diffstat (limited to 'lua/telescope/builtin/git.lua')
| -rw-r--r-- | lua/telescope/builtin/git.lua | 8 |
1 files 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 ), |
