Hi, On Fri, 15 Dec 2006, Johannes Schindelin wrote: > On Fri, 15 Dec 2006, Nguyen Thai Ngoc Duy wrote: > > > About adding index support to git-show, yes it's really messy. index > > doesn't have tree objects. > > Insofar, it is not messy: git-show only shows _objects_. For example, "git > show :README" works as expected if you have a file called "README" in the > index... Note: this is not completely true. The index contains cache_trees. But they do not need to be up-to-date, which would mean that "git show :./" would have to remake the cache_tree, and _then_ show it. Ciao, Dscho - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html