zsh-workers
 help / color / mirror / code / Atom feed
From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: Antony Lee <antony.lee@berkeley.edu>
Cc: zsh-workers@zsh.org
Subject: Re: BUG: _git-check-ignore completer fails to complete filenames
Date: Tue, 09 Feb 2016 03:23:20 +0000	[thread overview]
Message-ID: <20160209032320.GB20947@tarsus.local2> (raw)
In-Reply-To: <CAGRr6BG0Squ8ep4MKAWbSTLasoRrgjxsRDW20CpKZX2Vc0caFA@mail.gmail.com>

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] )) ||


      reply	other threads:[~2016-02-09  3:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-07  2:25 Antony Lee
2016-02-09  3:23 ` Daniel Shahaf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160209032320.GB20947@tarsus.local2 \
    --to=d.s@daniel.shahaf.name \
    --cc=antony.lee@berkeley.edu \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).