apply: refactor read_file_or_gitlink()
authorJunio C Hamano <gitster@pobox.com>
Tue, 8 May 2012 22:11:02 +0000 (15:11 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Jul 2012 21:36:26 +0000 (14:36 -0700)
Reading a blob out of the object store does not have to require that the
caller has a cache entry for it.

Create a read_blob_object() helper function that takes the object name and
mode, and use it to reimplement the original function as a thin wrapper to
it.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found