diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2015-09-01 04:37:33 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2015-09-01 04:37:39 +0000 |
commit | 6e825e7b2556f8d10be27087ca8b9ecd77c6cddc (patch) | |
tree | 63ed296d177451f8ea8df86779d477e400a336c9 /Completion/Unix/Command | |
parent | a428c6b62cb227cba0f0cd32b8c85dc33042ac71 (diff) | |
download | zsh-6e825e7b2556f8d10be27087ca8b9ecd77c6cddc.tar.gz zsh-6e825e7b2556f8d10be27087ca8b9ecd77c6cddc.tar.xz zsh-6e825e7b2556f8d10be27087ca8b9ecd77c6cddc.zip |
36353: _git: Unbreak after previous.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r-- | Completion/Unix/Command/_git | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 2c79ed07a..7f7c3ebc7 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -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! |