Merge branch 'lf/read-blob-data-from-index'
commit4b35b007a6bd8b76bd37589fa397c12265935029
authorJunio C Hamano <gitster@pobox.com>
Mon, 22 Apr 2013 01:39:45 +0000 (21 18:39 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Apr 2013 01:39:45 +0000 (21 18:39 -0700)
tree23b3c8432d49afea63efdedeab721b753a5e1eda
parentd2949c7b3c8a2f0d2cb5c61d99017a1a85a46264
parent4982fd78f61db69504f91151f94fce9914d610b6
Merge branch 'lf/read-blob-data-from-index'

Reduce duplicated code between convert.c and attr.c.

* lf/read-blob-data-from-index:
  convert.c: remove duplicate code
  read_blob_data_from_index(): optionally return the size of blob data
  attr.c: extract read_index_data() as read_blob_data_from_index()
attr.c
cache.h
convert.c
read-cache.c