Fix read-tree --prefix=dir/.
commit2960a1d9eef846de9cfd9d6e32d203339d792120
authorJunio C Hamano <junkio@cox.net>
Mon, 2 Apr 2007 19:40:19 +0000 (2 12:40 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 4 Apr 2007 07:19:29 +0000 (4 00:19 -0700)
tree8dcf6d0e1a4bca4288921c573464541298efe6be
parent9a4d8fdc25d6ba08564766c6ded165212f423b61
Fix read-tree --prefix=dir/.

The existing code is not wrong per-se, but it started scanning the index
from a location that does not match the tree being read, and wasted
cycles.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-read-tree.c