mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-25 17:20:25 +02:00
35016: introduce new pretty formats %g[sdD] for reflog information
This commit is contained in:
parent
85a4cf9b36
commit
fec4e7243b
2 changed files with 6 additions and 1 deletions
|
|
@ -5532,7 +5532,7 @@ __git_stashes () {
|
|||
local expl
|
||||
declare -a stashes
|
||||
|
||||
stashes=(${${(f)"$(_call_program stashes git stash list 2>/dev/null)"}/: */})
|
||||
stashes=(${(f)"$(_call_program stashes git stash list --pretty=format:%gd 2>/dev/null)"})
|
||||
__git_command_successful $pipestatus || return 1
|
||||
|
||||
_wanted stashes expl stash compadd "$@" -a - stashes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue