Re: [PATCH v1 2/3] read-cache: factor out get_sha1_from_index() helper

2016-05-14 Thread Eric Sunshine
On Sun, May 15, 2016 at 2:38 AM, wrote: > Factor out the retrieval of the sha1 for a given path in > read_blob_data_from_index() into the function get_sha1_from_index(). > > This will be used in the next commit, when convert.c can do the > analyze for "text=auto" without slurping the whole blob i

[PATCH v1 2/3] read-cache: factor out get_sha1_from_index() helper

2016-05-14 Thread tboegi
From: Torsten Bögershausen Factor out the retrieval of the sha1 for a given path in read_blob_data_from_index() into the function get_sha1_from_index(). This will be used in the next commit, when convert.c can do the analyze for "text=auto" without slurping the whole blob into memory at once. A