copy: factor sparse-copying code into its own function, because
authorJim Meyering <meyering@redhat.com>
Thu, 27 Jan 2011 19:57:17 +0000 (20:57 +0100)
committerJim Meyering <meyering@redhat.com>
Sun, 30 Jan 2011 19:44:12 +0000 (20:44 +0100)
commit82c7f192bde285bcf5f8d25e0ec1996534382315
treee41806b85dda25cd3d3c23fa414dc8f4cf071ef6
parentf5743a6f20269b22e513132d3a561b8de2122401
copy: factor sparse-copying code into its own function, because

we're going to have to use it from within extent_copy, too.
* src/copy.c (sparse_copy): New function, factored out of...
(copy_reg): ...here.
Remove now-unused locals.
src/copy.c