Hi,
On Fri, 15 Dec 2006, Johannes Schindelin wrote:
On Fri, 15 Dec 2006, Nguyen Thai Ngoc Duy wrote:
quoted
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