Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] _git: Complete 'commit -p'
- X-seq: zsh-workers 37129
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] _git: Complete 'commit -p'
- Date: Tue, 17 Nov 2015 22:14:04 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=vrO l+11ejXv7cA2cryUEmsr6MHg=; b=v7/U5QAOkYlS1WsdH0Vvy9sW1jJV0XazJ/w OQr2ou1LcmToiaMRtrcO6LAq1UEG2PBEIwiDSV1xY8XGXi9XEtEn1qOn5ABBiYnY xepuAtcyyhHYadU5B3XFSW1SgWycI9ZfjC3vp3sdR8Qrb9vRRfqc0qMs8P3rajt+ jaP+qCLc=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=vr Ol+11ejXv7cA2cryUEmsr6MHg=; b=Mql/t11WDYxSJu/c3SePFO+PXDxqv6/v2Z 4JsPv2IiJhSm9v0V6nVSKY38ZCHmxTJnVB6DsboV60tZdgjn/aSpGpbpFXmPhcBv LM0umDMXY0paUaReG9mR1nBreU9GFOe1uGs9T5QPR8escI0qvMZ4kxF9rE6uWVRp JxwJ4JyGc=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
---
The short form was missing.
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index ad1037e..a920d04 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -656,7 +656,7 @@ _git-commit () {
'( --porcelain --dry-run)--short[output dry run in short format]' \
'(--short --dry-run)--porcelain[output dry run in porcelain-ready format]' \
'(--short --porcelain --dry-run -z --null)'{-z,--null}'[separate dry run entry output with NUL]' \
- '--patch[use the interactive patch selection interface to chose which changes to commit]' \
+ {-p,--patch}'[use the interactive patch selection interface to chose which changes to commit]' \
'(--reset-author)--author[override the author name used in the commit]:author name' \
'--date=[override the author date used in the commit]:date' \
'(-s --signoff)'{-s,--signoff}'[add Signed-off-by line at the end of the commit message]' \
Messages sorted by:
Reverse Date,
Date,
Thread,
Author