Merge branch 'lf/read-blob-data-from-index'
authorJunio C Hamano <gitster@pobox.com>
Mon, 22 Apr 2013 01:39:45 +0000 (18:39 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Apr 2013 01:39:45 +0000 (18:39 -0700)
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()

1  2 
attr.c
cache.h
convert.c
read-cache.c
diff --cc attr.c
Simple merge
diff --cc cache.h
Simple merge
diff --cc convert.c
Simple merge
diff --cc read-cache.c
Simple merge