From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 64218886 for ; Wed, 4 Sep 2019 00:31:09 +0000 (UTC) Received: (qmail 5569 invoked by alias); 4 Sep 2019 00:30:59 -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: List-Unsubscribe: X-Seq: 44725 Received: (qmail 4571 invoked by uid 1010); 4 Sep 2019 00:30:59 -0000 X-Qmail-Scanner-Diagnostics: from mail-vs1-f68.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25559. spamassassin: 3.4.2. Clear:RC:0(209.85.217.68):SA:0(-2.0/5.0):. Processed in 3.535954 secs); 04 Sep 2019 00:30:59 -0000 X-Envelope-From: sgniazdowski@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.217.68 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oH6i3KsESysWmF0CLIMwEW9AFWy5AJMIoiDAZWFEJ6o=; b=nBkVWdGRER11iyRnDh5+yZBLzOxLaMTgUd9Ph81kK+8MaOznZuAsylPJy9FakYZCQ3 87wpdxMHR5/sjMovDnI9t4gOkiCQwJAyhYpIyy3U7jhu/j3gjmvOXT0d8qF7a/q8MIRS l78X4rgazqvBGl6g6CEwH71EWyxB3GRd1eGI3u11MKw4Fjjp6B1GuGt/Jh1JQQfqtXQ3 cFvtO+xure7mutGug3nssI3H6K1KM90gp6VN/3qG3MpXarRrWyOIvoW1DOdYdQj0gtYN SF4qvEczcBpWFwMQi9tKTq1rLT1Bg5AUBLqFRy/2xXkXtCdJ81HKPBqtG1tLRZNrlwM/ fIjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oH6i3KsESysWmF0CLIMwEW9AFWy5AJMIoiDAZWFEJ6o=; b=bRcV6d1X6XFXa3kZLD8GqCHBD69AmCBgumbytHiqEpI+K1rSk/MueNXR7jRL3j4CMj X5BDfPpVQ7Wlh9bRE14Vrj7N/JiJeaEy58OUqQMnAE9WutuR9buGooY7b63WgdgBfDeu MUmTewjNjvnyUuEnGDGFcayhKzmEoXbWH9MA/HjJ8a9HjR73ftl8XS+WPIt8k/ZuKxl/ ObeEX/+JFrMxShB9vruhZLbS2noZ3qQJ9xtWHYOsN+SVsHCBy11zcsMg2csyndR/GUNJ dVRShAQTMsFUwQLWJbpTMfDWtAUOj5KGrCEoPSC1USzw/pyntYZjVP1yGEgJPi7WTbbs 3duQ== X-Gm-Message-State: APjAAAXVuuhF3fCvhq3Lgzwh+/CHr4qrHW9dw+rVeJ69pzn6u5Ac+lQE vdKZaHwIOP0c18mMLazp3HfYVjYbfUgxuHwuS2k= X-Google-Smtp-Source: APXvYqysB0w5HRmpnVUIGolPJjvoPwA4n3vlKWbzoJGhiVPvoOyaHnMRM4DAZNUtVvv3AV9q5pqgyPT7BUNjoShD2Bs= X-Received: by 2002:a67:ecc5:: with SMTP id i5mr2181018vsp.158.1567557021729; Tue, 03 Sep 2019 17:30:21 -0700 (PDT) MIME-Version: 1.0 References: <20190902145953.GA23939@cventin.lip.ens-lyon.fr> <38397-1567442712.108627@_ODV.g8W6.Bjnx> In-Reply-To: <38397-1567442712.108627@_ODV.g8W6.Bjnx> From: Sebastian Gniazdowski Date: Wed, 4 Sep 2019 02:29:37 +0200 Message-ID: Subject: Re: git completion: does not know "git switch" To: Oliver Kiddle Cc: Zsh hackers list Content-Type: text/plain; charset="UTF-8" On Mon, 2 Sep 2019 at 18:46, Oliver Kiddle wrote: > On further investigation, it seems git switch and restore are new > features of 2.23.0. We're always going to be playing catchup to some > extent. Even where external projects include zsh completions, there > tends to be a lag. The last update to _git on 17 July brought it in > line with git 2.22.0 but you might not want to use that function with > zsh 5.7.1 for other reasons. > > We'd be happy to accept any patches to support the new features. Maybe it makes sense to use git help -a? Like in the following (little diverging to other sub-functions) function: https://github.com/zdharma/fast-syntax-highlighting/blob/57fbac0462dcccd69c776681d4ba9de097979e1f/chroma/-git.ch#L608 ? -- Sebastian Gniazdowski News: https://twitter.com/ZdharmaI IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin Blog: http://zdharma.org