about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorPaul Seyfert <Paul.Seyfert@sevensense.ch>2021-11-26 12:29:38 +0100
committerDaniel Shahaf <d.s@daniel.shahaf.name>2021-11-26 11:48:55 +0000
commit5fe498124d6469fadded7b9ad9eb64649b93f2de (patch)
tree6e53df58309cfbb16c030717800ef008f5c584f0 /Completion
parent1168c6c3ea7df938460403cca36037707ee211f2 (diff)
downloadzsh-5fe498124d6469fadded7b9ad9eb64649b93f2de.tar.gz
zsh-5fe498124d6469fadded7b9ad9eb64649b93f2de.tar.xz
zsh-5fe498124d6469fadded7b9ad9eb64649b93f2de.zip
github #83: _git-push, _git-send-pack: Make --push-option repeatable.
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_git4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index c757376b0..70940336d 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -1465,7 +1465,7 @@ _git-push () {
     '(--no-signed --sign)--signed[GPG sign the push]' \
     "(--sign --signed)--no-signed[don't GPG sign the push]" \
     '--atomic[request atomic transaction on remote side]' \
-    '(-o --push-option)'{-o+,--push-option=}'[transmit string to server to pass to pre/post-receive hooks]:string' \
+    '*'{-o+,--push-option=}'[transmit string to server to pass to pre/post-receive hooks]:string' \
     '(-4 --ipv4 -6 --ipv6)'{-4,--ipv4}'[use IPv4 addresses only]' \
     '(-4 --ipv4 -6 --ipv6)'{-6,--ipv6}'[use IPv6 addresses only]' \
     ': :__git_any_repositories' \
@@ -5664,7 +5664,7 @@ _git-send-pack () {
     "(--no-signed --signed)--sign=-[GPG sign the push]::signing enabled:(($^^sign))" \
     '(--no-signed --sign)--signed[GPG sign the push]' \
     "(--sign --signed)--no-signed[don't GPG sign the push]" \
-    '--push-option=[specify option to transmit]:option' \
+    '*--push-option=[specify option to transmit]:option' \
     '--progress[force progress reporting]' \
     '--thin[send a thin pack]' \
     '--atomic[request atomic transaction on remote side]' \