read-cache.c: move code to copy incore to ondisk cache to a helper function
authorJunio C Hamano <gitster@pobox.com>
Tue, 3 Apr 2012 22:53:14 +0000 (15:53 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Apr 2012 23:24:46 +0000 (16:24 -0700)
commitf136f7bfe816b46ebabf5439f8e55f37097ca353
tree7a1453054730da9aab82ad19f25a2252888dab12
parent3fc22b53313ff035da145b2cb59e587ff3868654
read-cache.c: move code to copy incore to ondisk 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