Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Git completion - trying to improve speed
- X-seq: zsh-users 15132
- From: Piotr Kalinowski <pitkali@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Git completion - trying to improve speed
- Date: Tue, 29 Jun 2010 11:50:43 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=vgwYpJBM44k0ljSn1vNJGOZ2vPOguFNCoUFVLAdHRhw=; b=mJSlddT6XaNz8nHvJSsjouvkF27LGvK6YsPtu4O0WlFMQuEG0EAa6RlibHE7IikhiI uitVVrbO9QhRL8L2ZrfA+KxPRbfMuy6+jVjdUdc30TyOUuGiUMC6fBW1OXZfu0SWNOnI zIw1vYp33ZfNPrgzhP3PjdcV6RjciRoypm3eg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=nfJhFpO48HJuVe7ojFdLO/EONr7GAzQSU4URmsAJJNORBef66AxDN4ZzDWTULXAa8L G3k4qr2rIDslQ5d4rWUZqPJWlU/gBT8o3Jpvf1X2YlhAwX3dVHCuPThn7+//WJBzxw/v VjFU0Hy2MaR5fl7OMYU6SYMk/JzTdJPnMnKnQ=
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hi,
I'm working on quite a large repository, and found git checkout completion
to be veeery slow. I've found patch on google that does improve situation
dramatically when you supply some prefix, see:
http://www.zsh.org/mla/workers/2008/msg01535.html. I've applied it to
git-version of git completion. However, I've got weird side effect.
Let user use 'git checkout test-<TAB>', wanting to complete something like
local branch test-feature1 or test-feature2. However:
- First completion is immediately inserted with menu displayed despite the
shell being configured otherwise (inserted in full, not just common prefix).
- The first completion is something like origin/test-feature1 instead of a
local branch.
I'm not much of a shell guru so I thought I'd ask if someone more into the
subject had any ideas what's going on, before I start to reverse-engineer
_git script ;)
Regards,
Piotr Kalinowski
--
Intelligence is like a river: the deeper it is, the less noise it makes
Messages sorted by:
Reverse Date,
Date,
Thread,
Author