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

2016-10-29 Thread Duy Nguyen
On Wed, Oct 12, 2016 at 8:47 PM, wrote: > 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" w

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

2016-10-27 Thread Junio C Hamano
tbo...@web.de writes: > 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

[PATCH v2 1/2] read-cache: factor out get_sha1_from_index() helper

2016-10-12 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