Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: git checkout improvement



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