Code

Fix "update-cache" not fixing up the size field as appropriate.
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 11 Apr 2005 18:33:58 +0000 (11:33 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 11 Apr 2005 18:33:58 +0000 (11:33 -0700)
commit32d197f18d0be74a4d82e8c42513d83423091a22
treee31297f6bcdec878e0054ae10066e2aaa0495fcd
parentcfd88e2b7a1a1d2b0f22173a5cc128adce7391e3
Fix "update-cache" not fixing up the size field as appropriate.

The size field isn't in the tree information, so we need to
update it if the sha1 matches.
update-cache.c