Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: git checkout improvement
- X-seq: zsh-workers 25494
- From: Clint Adams <clint@xxxxxxx>
- To: Mikael Magnusson <mikachu@xxxxxxxxx>
- Subject: Re: git checkout improvement
- Date: Thu, 21 Aug 2008 00:52:59 +0000
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <237967ef0808201720x594dae53x215b078420b1ccb6@xxxxxxxxxxxxxx>
- Mail-followup-to: Mikael Magnusson <mikachu@xxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20080821000948.GA20166@xxxxxxxx> <237967ef0808201720x594dae53x215b078420b1ccb6@xxxxxxxxxxxxxx>
On Thu, Aug 21, 2008 at 02:20:49AM +0200, Mikael Magnusson wrote:
> 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?
I am getting confused here. Can you use -- when there's a tree-ish on
the line?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author