From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 14441 invoked from network); 20 Apr 2021 20:48:38 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 20 Apr 2021 20:48:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Message-ID:Date:Content-ID: Content-Type:MIME-Version:Subject:To:References:From:In-reply-to:Reply-To:Cc: Content-Transfer-Encoding:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=cfFd26VCDS5aak1e+QTVsPuCMbzltvBbdtruFC34y2Q=; b=wro9wgODreIu3opwB9LTiHzchQ ydlTQNogQyOt3XOo/tsBvx+74KRVnlKpttlQ4E6vnd69H1Zb64cBMgbiRy/632tBaWzS9FUiCUMhZ liaDNPic5MguvQq2k8dVw88gSLSwZ4pbghqpBKE0Bz+NUV8ouywzgMU8oVCm2EAnX/Vhky5ZtOhUx LY9sVZ1MpDUVH53qwsyv9rH1S8l6aQf4rt76gtI0kXvo4i0DIItn41jzgvO3QTcPDmqOIL05riyS0 fSC5UV3LqIm5JYiUDS2tLysVJfpKjg0IeAft9CK161VI4pzK43kVGwTPNCTkGvxQyzjQ0eiMO3imG yUGXz9GQ==; Received: from authenticated user by zero.zsh.org with local id 1lYxIT-000INA-TW; Tue, 20 Apr 2021 20:48:37 +0000 Received: from authenticated user by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1lYxIH-000I6t-Iu; Tue, 20 Apr 2021 20:48:25 +0000 Received: from [192.168.178.21] (helo=hydra) by mail.kiddle.eu with esmtp(Exim 4.94) (envelope-from ) id 1lYxIH-000Cqc-6Z for zsh-workers@zsh.org; Tue, 20 Apr 2021 22:48:25 +0200 In-reply-to: From: Oliver Kiddle References: To: Zsh hackers list Subject: Re: Version of git vs. version of zsh completion for it MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <49388.1618951705.1@hydra> Date: Tue, 20 Apr 2021 22:48:25 +0200 Message-ID: <49389-1618951705.200918@Ujb3.eI9Q.SdVO> X-Seq: 48628 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Bart Schaefer wrote: > Just as an example: > > % git stash drop > _arguments:comparguments:325: invalid argument: _git-notes That was fixed by dana in 754658aff3 (2020-03-13) having been caused by me in 8aa84bd5fc / 44923 (2019-11-24). 5.8 falls between those, I'm afraid. > It would be OK if this just failed to complete, but spewing all those > errors because Ubuntu hasn't released packages for the latest git > seems unfriendly. In this particular case that has nothing to do with it. It looks like I accidentally pasted "_git-notes" into a random part of the file and failed to notice. > This is of course a generic problem with keeping supplied completions > congruent with installed software, By running the release version of zsh from a distribution, it should hopefully be of at least approximately the same vintage as the rest of the software. But more people running fresh builds gives us a chance of finding errors of this sort before they hit a release. Option updates in completions tend to be fairly error-prone and I've been responsible for one or other error in most releases. I've not updated _git for options since 2.24 so your next Ubuntu upgrade will potentially give you a newer git than we complete for. Oliver