mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-27 18:21:10 +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
|
@ -1,3 +1,8 @@
|
|||
2015-05-14 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* Daniel Hahler: 35016: Completion/Unix/Command/_git:
|
||||
introduce new pretty formats %g[sdD] for reflog information
|
||||
|
||||
2015-05-14 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* 35110: Src/builtin.c, Doc/Zsh/params.yo: don't
|
||||
|
|
|
@ -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…
Reference in a new issue