Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Git completion hanging on "git add -f"
- X-seq: zsh-workers 28685
- From: Julien Nicoulaud <julien.nicoulaud@xxxxxxxxx>
- To: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: Git completion hanging on "git add -f"
- Date: Sun, 30 Jan 2011 15:03:31 +0100
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=sKd9SwZfu2Or+FQginL9KRJPGmA4h+VQvIJtLFjp9JI=; b=itryOPeXhxsOluY12CjM1Yr8j/qNE/rP/+iI8v/JLRJoL5PR/EYOxg0XlRenFLxi7j pIx1JxJ3YTxxjPjZCVjStrNnZw+C7+HU3cSdpFc1w1h4vFfV8yR0K2mPbpxB7QMg1VU/ mx7u4kVufuZWvLqnGcI5lSFfV9npGqquaH8vs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=RAo0KOT8lbVS40aWJxVp4I4StFEJcgMs4dzDnp0CDCBAcXHi7Eppo6fa2xYxK5ibfs SbS+iEGT8mZ5p4X+2/RYrw2gYxPJv/XG7KRZCxe5SxtIALI0brKAetsVBEHuVdqD4HZ7 LwcpnMNldndxbmLgdg4vIbi77KzTVHlJQOdko=
- In-reply-to: <87fwsaaa1j.fsf@ft.bewatermyfriend.org>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <AANLkTi=cNrQ7-7x_Dxsr3fg2kxaW6aJxd6Rte9ehSc_v@mail.gmail.com> <87fwsaaa1j.fsf@ft.bewatermyfriend.org>
Yes, I tried it but it's the same (same zprof output too).
I tried to unplug the completer provided by _git for this context with:
zstyle ':completion:*:*:git:ignored-other-files' _path_files
but there must be something I missed with zstyle syntax, because it does not
work (the part that matters is here:
https://github.com/now/zsh/blob/git/Completion/Unix/Command/_git#L59).
2011/1/30 Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
> Julien Nicoulaud wrote:
> [...]
> > It seems that the completion recurses under the whole repository, instead
> of
> > just displaying the first level files and directories.
>
> Did you try if Nikolai's updated _git from
> <http://www.zsh.org/mla/workers/2011/msg00088.html> improves the
> situation?
>
> Regards, Frank
>
> --
> In protocol design, perfection has been reached not when there is
> nothing left to add, but when there is nothing left to take away.
> -- RFC 1925
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author