Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Qmail-Scanner-Diagnostics: from hahler.de by f.primenet.com.au (envelope-from <genml+zsh-workers@thequod.de>, uid 7791) with qmail-scanner-2.11 
 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1.  
 Clear:RC:0(188.40.33.212):SA:0(0.0/5.0):. 
 Processed in 0.126534 secs); 15 Aug 2016 10:13:14 -0000
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_PASS,T_DKIM_INVALID
	autolearn=unavailable autolearn_force=no version=3.4.1
X-Envelope-From: genml+zsh-workers@thequod.de
X-Qmail-Scanner-Mime-Attachments: |signature.asc|
X-Qmail-Scanner-Zip-Files: |
Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.hahler.de designates 188.40.33.212 as permitted sender)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thequod.de; h=
	content-type:content-type:in-reply-to:mime-version:user-agent
	:date:date:message-id:from:from:references:subject:subject
	:received:received; s=postfix2; t=1471255543; bh=0gFp3XZd3E+N6H4
	k8mDM2vFgUwoIO8LIHfdXeYRWNxQ=; b=OurjgglXlv4ryPNkwqCB27SnYU/vtT8
	QuzVcVCBXbHeg3AkUBn4JixeDwqnVHSRUYhjGKg7A+JpWEOHo0IsZfUAhhZ8Fh3E
	eMVYbS04dhkqAx7I3OglLTiqdZNrvyKBoB8YQRRWAcWNukG9y1wOM7/YUAKPP7ND
	jer8Z0lyD/sU=
Subject: Re: PATCH: update options for git completion
To: zsh-workers@zsh.org
References: <99619.1471044385@hydra.kiddle.eu>
From: Daniel Hahler <genml+zsh-workers@thequod.de>
Message-ID: <fa54c687-a7ba-09c5-1511-74b92ecba455@thequod.de>
Date: Mon, 15 Aug 2016 12:05:39 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <99619.1471044385@hydra.kiddle.eu>
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature";
 boundary="Jo7mdgR0sbHsk5n78R8DRcJgFwNqqTkbH"
X-Seq: zsh-workers 39040

--Jo7mdgR0sbHsk5n78R8DRcJgFwNqqTkbH
Content-Type: multipart/mixed; boundary="HkPKmwcngk9FvAfrGv9S8mpoE7MwmTRt9"
From: Daniel Hahler <genml+zsh-workers@thequod.de>
To: zsh-workers@zsh.org
Message-ID: <fa54c687-a7ba-09c5-1511-74b92ecba455@thequod.de>
Subject: Re: PATCH: update options for git completion
References: <99619.1471044385@hydra.kiddle.eu>
In-Reply-To: <99619.1471044385@hydra.kiddle.eu>

--HkPKmwcngk9FvAfrGv9S8mpoE7MwmTRt9
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 13.08.2016 01:26, Oliver Kiddle wrote:
> This updates _git for new options up to git 2.9.2.

Awesome, thanks a lot!

I found two missing backslashes:

 Completion/Unix/Command/_git | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git i/Completion/Unix/Command/_git w/Completion/Unix/Command/_git
index 78f0564..ac4c90e 100644
--- i/Completion/Unix/Command/_git
+++ w/Completion/Unix/Command/_git
@@ -753,7 +753,7 @@ _git-diff () {
   _arguments -C -s \
     $* \
     $diff_options \
-    '(--exit-code)--quiet[disable all output]'
+    '(--exit-code)--quiet[disable all output]' \
     $diff_stage_options \
     '(--cached --staged)'{--cached,--staged}'[show diff between index an=
d named commit]' \
     '(-)--[start file arguments]' \
@@ -849,7 +849,7 @@ _git-fetch () {
=20
   _arguments -C -S -s \
     $fetch_options \
-    '(-n --no-tags -t --tags)'{-n,--no-tags}'[disable automatic tag foll=
owing]'
+    '(-n --no-tags -t --tags)'{-n,--no-tags}'[disable automatic tag foll=
owing]' \
     '(--all -m --multiple)'{-m,--multiple}'[fetch from multiple remotes]=
' \
     '*:: :->repository-or-group-or-refspec' && ret=3D0

Will commit it.


--HkPKmwcngk9FvAfrGv9S8mpoE7MwmTRt9--

--Jo7mdgR0sbHsk5n78R8DRcJgFwNqqTkbH
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAlexk/MACgkQfAK/hT/mPgC1KQCfc2Bdv9kqrzrnvRu8ButqBe5o
QuMAoKrzv5jv+gI/N7wKzVXhD/xW71zX
=QQnH
-----END PGP SIGNATURE-----

--Jo7mdgR0sbHsk5n78R8DRcJgFwNqqTkbH--

