Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: git checkout improvement
- X-seq: zsh-workers 25492
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: git checkout improvement
- Date: Thu, 21 Aug 2008 02:20:49 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=vKYtSMgmu0NDbBBd8JmGfFmf9LvQ4E/9jss+tzoK8hU=; b=WnQtITH2NWvYtmkLIT/FEaEcA3DUM7cZaZat53KSbsIDLs+h58QrzC6K6mnITrGGed 4azFTr4J5xTIcBlHByT0HUgpHjswH7WKsF0j7c3csuJmGbwHqVtnV+zPvY5MCyGt0wRz +jXfLZ8EFVgr44Mppz/YK6IQN3I6hcFrh/hlo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ASLiv925uno6P4k6oBvFKh408CzC4Vx0PE8E7J5KVhHbo9IAnwx6scsTXxp+1dEA8a 80Mt2hvoUOUjw4sLRvv7QMzLJUGxw4iBeDyZwhjFksBBuanGRQtV09GMR3Gr0dwA+QaP x1/gAj06okTKlhENdCRnbZgVuNpAYvBeQHi6E=
- In-reply-to: <20080821000948.GA20166@xxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20080821000948.GA20166@xxxxxxxx>
2008/8/21 Clint Adams <clint@xxxxxxx>:
> Maybe we should abstract the words[(I)--] bit into some kind of
> _git_arguments function.
I also noticed completing files from the index doesn't work as well as
completing files from a given tree... eg, If you type
git checkout HEAD gi<tab>
you get git.c, but if you
git checkout -- gi<tab>
you get nothing. However,
git checkout -- <tab>
lists all the files, and lets you cycle through them until you reach git.c
It uses __git_cached_files for that case, but some other places that call
that work just fine with something already typed. You got any idea?
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author