From: Eric Sunshine Date: Tue, 29 Mar 2016 19:32:32 GMT Subject: Re: [PATCH v1 1/7] Make it possible to get sha1 for a path from the index Message-ID: In-Reply-To: <1459257930-17193-1-git-send-email-tboegi@web.de> 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 "text=auto" without slurping the whole blob into memory at once. > > Add a wrapper definition get_sha1_from_cache(). > > Signed-off-by: Torsten Bögershausen