read-cache.c: move code to copy ondisk to incore cache to a helper function
authorJunio C Hamano <gitster@pobox.com>
Tue, 3 Apr 2012 22:53:13 +0000 (15:53 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Apr 2012 23:24:46 +0000 (16:24 -0700)
commit3fc22b53313ff035da145b2cb59e587ff3868654
treed17a553c3e0ddf08b87750bca4cd32b33e2ae6b7
parent0136bac9b8a449cdf2179ad0242e079262b0aeea
read-cache.c: move code to copy ondisk to incore cache to a helper function

This makes the change in a later patch look less scary.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
read-cache.c