From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11076 invoked by alias); 17 Nov 2015 22:14:21 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 37129 Received: (qmail 5752 invoked from network); 17 Nov 2015 22:14:19 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 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= X-Sasl-enc: Ksn2uL4WLBF8YRfO18PXxid2gkOJHnBUtL1fcTMP51kv 1447798452 Date: Tue, 17 Nov 2015 22:14:04 +0000 From: Daniel Shahaf To: zsh-workers@zsh.org Subject: [PATCH] _git: Complete 'commit -p' Message-ID: <20151117221404.GA1845@tarsus.local2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) --- 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]' \