Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: git checkout improvement
- X-seq: zsh-workers 25498
- From: Clint Adams <clint@xxxxxxx>
- To: Mikael Magnusson <mikachu@xxxxxxxxx>
- Subject: Re: git checkout improvement
- Date: Thu, 21 Aug 2008 05:04:52 +0000
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <237967ef0808201922g91dd092w5da31759495b74b7@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> <20080821005259.GA21325@xxxxxxxx> <237967ef0808201918t4c21baefj456fb9be0605d430@xxxxxxxxxxxxxx> <237967ef0808201922g91dd092w5da31759495b74b7@xxxxxxxxxxxxxx>
On Thu, Aug 21, 2008 at 04:22:08AM +0200, Mikael Magnusson wrote:
> Another problem is you can do
> git checkout git.c NEWS
> but then we try to use git.c as a tree-ish which obviously doesn't work.
> Probably we should check if words[1] (or whatever) is a valid tree-ish,
> and if not, complete files from the index instead.
Great, how do you validate a tree-ish?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author