From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16528 invoked by alias); 9 Feb 2016 03:23:23 -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: 37924 Received: (qmail 27658 invoked from network); 9 Feb 2016 03:23:22 -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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 Date: Tue, 09 Feb 2016 03:23:20 +0000 From: Daniel Shahaf To: Antony Lee Cc: zsh-workers@zsh.org Subject: Re: BUG: _git-check-ignore completer fails to complete filenames Message-ID: <20160209032320.GB20947@tarsus.local2> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Antony Lee wrote on Sat, Feb 06, 2016 at 18:25:54 -0800: > All's in the title. > Packaged zsh 5.2 from Arch Linux. Thanks, Antony. diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 65916f0..565ac44 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -406,7 +406,7 @@ _git-check-ignore () { '-z[make output format machine-parseable and treat input-paths as NUL-separated with --stdin]' \ '(-n --non-matching)'{-n,--non-matching}'[show given paths which do not match any pattern]' \ '--no-index[do not look in the index when undertaking the checks]' \ - '*:: :->file' && ret=0 + '*:: :_files' } (( $+functions[_git-check-mailmap] )) ||