1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-19 23:41:31 +01:00

36353: _git: Unbreak after previous.

This commit is contained in:
Daniel Shahaf 2015-09-01 04:37:33 +00:00
parent a428c6b62c
commit 6e825e7b25
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2015-09-01 Daniel Shahaf <d.s@daniel.shahaf.name>
* 36353: Completion/Unix/Command/_git: _git: Unbreak after
previous.
2015-08-30 Mateusz Karbowy <mateusz.karbowy@gmail.com>
* 36328 + 36340: Completion/Unix/Command/_git: _git-cherry-pick:

View file

@ -5645,7 +5645,7 @@ __git_recent_commits () {
zparseopts -D -E O:=argument_array_names
# Turn (-O foo:bar) to (foo bar)
(( $#argument_array_names )) && argument_array_names=( "${(@s/:/)argument_array_names[2]}" )
(( $#argument_array_names > 1 )) && && ${(P)+argument_array_names[2]} &&
(( $#argument_array_names > 1 )) && (( ${(P)+argument_array_names[2]} )) &&
commit_opts=( "${(@P)argument_array_names[2]}" )
# Careful: most %d will expand to the empty string. Quote properly!