[PATCH] Use read_object_with_reference() in tar-tree
authorRene Scharfe <rene.scharfe@lsrfire.ath.cx>
Fri, 29 Apr 2005 05:19:02 +0000 (22:19 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 29 Apr 2005 05:19:02 +0000 (22:19 -0700)
commitdb413479f1bb0dabfc613b2b0017ca74aeb5a919
tree1e2168c7d554a4fbd25a09bb591ae0f82dac6513
parent40469ee9c6a6f4c85df5520ef719bba3d38a64f0
[PATCH] Use read_object_with_reference() in tar-tree

This patch replaces the usage of read_tree_with_tree_or_commit_sha1()
with read_object_with_reference() in tar-tree.  As a result the code
that tries to figure out the commit time doesn't need to open the commit
object 'by hand' any more.

Signed-off-by: Rene Scharfe <lsrfire.ath.cx>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
tar-tree.c