Correct tree corruption problems in fast-import.
authorShawn O. Pearce <spearce@spearce.org>
Tue, 29 Aug 2006 01:43:04 +0000 (21:43 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 14 Jan 2007 07:15:11 +0000 (02:15 -0500)
commitb54d6422b1a277ee905819e01020f5690196a999
tree934f101d727b4c6a7471e4589862ba5e80120a8f
parent23bc886c966b4362555b61f33c6eef71552e4d0e
Correct tree corruption problems in fast-import.

The new tree delta implementation caused blob SHA1s to be used
instead of a tree SHA1 when a tree was written out.  This really
only appeared to happen when converting an existing file to a tree,
but may have been possible in some other situations.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
fast-import.c