summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2015-09-01 04:37:33 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2015-09-01 04:37:39 +0000
commit6e825e7b2556f8d10be27087ca8b9ecd77c6cddc (patch)
tree63ed296d177451f8ea8df86779d477e400a336c9 /Completion/Unix/Command
parenta428c6b62cb227cba0f0cd32b8c85dc33042ac71 (diff)
downloadzsh-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/_git2
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!