diff options
| author | Torsten Bögershausen <tboegi@web.de> | 2016-06-28 10:01:15 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2016-07-07 09:17:12 -0700 |
| commit | 75964d2722cb95f0a9a04f9c0a5814faabbd232f (patch) | |
| tree | 2c977256b804597d114102ed44ea329c2a177cff /diff.c | |
| parent | 6523728499e77afaed0008875b19b308682c3f88 (diff) | |
| download | git-75964d2722cb95f0a9a04f9c0a5814faabbd232f.tar.gz | |
read-cache: factor out get_sha1_from_index() helper
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.
Add a wrapper definition get_sha1_from_cache().
Signed-off-by: Torsten Bögershausen <tboegi@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions
