[PATCH] Bugfix: read-cache.c:write_cache() misrecords number of entries.
authorJunio C Hamano <junkio@cox.net>
Fri, 10 Jun 2005 08:32:37 +0000 (01:32 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 10 Jun 2005 14:42:45 +0000 (07:42 -0700)
commit025a0709b6179506ffc0d35967bdd4fb804d30fb
tree1b59113cdd8f9bf33eb26c6334ffdede87a127de
parentaa16021efcd969a44b480d0964e07d52167517db
[PATCH] Bugfix: read-cache.c:write_cache() misrecords number of entries.

When we choose to omit deleted entries, we should subtract
numbers of such entries from the total number in the header.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Oops.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
read-cache.c