get_tree_entry: map blank requested entry to tree root
commitd93b7d1c30c9716953392ec6590686301de0cc25
authorJeff King <peff@peff.net>
Tue, 9 Jan 2007 16:11:47 +0000 (9 11:11 -0500)
committerJunio C Hamano <junkio@cox.net>
Tue, 9 Jan 2007 22:08:41 +0000 (9 14:08 -0800)
treeef4c4fc39ad91d0a50d5fa86c8ba31ec4b694434
parent2740b2b8539a322bc73f46c45c569503900c5dc1
get_tree_entry: map blank requested entry to tree root

This means that
  git show HEAD:
will now return HEAD^{tree}, which is logically consistent with
  git show HEAD:Documentation

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
tree-walk.c