apply: further split load_preimage()
commit5a812661694efed28b4446724278bcc21fe6d6d6
authorJunio C Hamano <gitster@pobox.com>
Tue, 12 Jun 2012 22:23:54 +0000 (12 15:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Jul 2012 21:36:51 +0000 (9 14:36 -0700)
treedd10296b6ce31764ec16f6e8038d0a7a901f2794
parentccf998b297c6d04053eaa9d61e9cb4187bccd0a9
apply: further split load_preimage()

load_preimage() is very specific to grab the current contents for
the path given by patch->old_name.  Split the logic that grabs the
contents for a path out of it into a separate load_patch_target()
function.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/apply.c