diff.c: fix "size cache" handling.
commitcdda666201710dcf50d7ebee804aac65fdec32fd
authorJunio C Hamano <junkio@cox.net>
Thu, 3 May 2007 20:00:43 +0000 (3 13:00 -0700)
committerJunio C Hamano <junkio@cox.net>
Fri, 4 May 2007 05:12:40 +0000 (3 22:12 -0700)
treea10bca66929a8a81dea529ffecfc670297207c78
parent9cf04301b182c4c57d62ea63554d109db613f9d3
diff.c: fix "size cache" handling.

We broke the size-cache handling when we changed the function
signature of sha1_object_info() in 21666f1a.  We obviously
wanted to cache the size we obtained when sha1_object_info()
succeeded, not when it failed.

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