Re: [PATCH v1 1/7] Make it possible to get sha1 for a path from the index

2016-03-29 Thread Eric Sunshine
On Tue, Mar 29, 2016 at 9:25 AM, wrote: > Factor out the retrival of the sha1 for a given path in s/retrival/retrieval/ > 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

Re: [PATCH v1 1/7] Make it possible to get sha1 for a path from the index

2016-03-29 Thread Torsten Bögershausen
On 2016-03-29 15.31, Duy Nguyen wrote: > On Tue, Mar 29, 2016 at 8:28 PM, Duy Nguyen wrote: >> On Tue, Mar 29, 2016 at 8:25 PM, wrote: >>> From: Torsten Bögershausen >>> >>> Factor out the retrival of the sha1 for a given path in >>>

Re: [PATCH v1 1/7] Make it possible to get sha1 for a path from the index

2016-03-29 Thread Duy Nguyen
On Tue, Mar 29, 2016 at 8:28 PM, Duy Nguyen wrote: > On Tue, Mar 29, 2016 at 8:25 PM, wrote: >> From: Torsten Bögershausen >> >> Factor out the retrival of the sha1 for a given path in >> read_blob_data_from_index() into the function

Re: [PATCH v1 1/7] Make it possible to get sha1 for a path from the index

2016-03-29 Thread Duy Nguyen
On Tue, Mar 29, 2016 at 8:25 PM, wrote: > From: Torsten Bögershausen > > Factor out the retrival of the sha1 for a given path in > read_blob_data_from_index() into the function get_sha1_from_index(). Getting _sha1_ from index is one function call and a memory

[PATCH v1 1/7] Make it possible to get sha1 for a path from the index

2016-03-29 Thread tboegi
From: Torsten Bögershausen Factor out the retrival 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