]> git.ipfire.org Git - thirdparty/git.git/commit - sha1_file.c
Refactor parts of in_delta_base_cache/cache_or_unpack_entry
authorThomas Rast <trast@student.ethz.ch>
Wed, 27 Mar 2013 20:03:41 +0000 (21:03 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Mar 2013 20:24:43 +0000 (13:24 -0700)
commit84dd81c12622119e7f1d3eaf2047b910352b36bb
tree355a7c4d50894a242345851005d962032158e155
parent790d96c02344eeff41344731d85fb7b22af1d947
Refactor parts of in_delta_base_cache/cache_or_unpack_entry

The delta base cache lookup and test were shared.  Refactor them;
we'll need both parts again.  Also, we'll use the clearing routine
later.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1_file.c