summaryrefslogtreecommitdiff
path: root/t/t2004-checkout-cache-temp.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-02-27 23:30:38 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-02-28 01:06:06 -0800
commitb8431b033f9e60f87a75b864612873307a3e5966 (patch)
treeb1f82e88e689757092e4a8b721ce2d49cb058cc6 /t/t2004-checkout-cache-temp.sh
parenthas_sha1_pack(): refactor "pretend these packs do not exist" interface (diff)
downloadtgif-b8431b033f9e60f87a75b864612873307a3e5966.tar.xz
has_sha1_kept_pack(): take "struct rev_info"
Its "ignore_packed" parameter always comes from struct rev_info. This patch makes the function take a pointer to the surrounding structure, so that the refactoring in the next patch becomes easier to review. There is an unfortunate header file dependency and the easiest workaround is to temporarily move the function declaration from cache.h to revision.h; this will be moved back to cache.h once the function loses this "ignore_packed" parameter altogether in the later part of the series. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2004-checkout-cache-temp.sh')
0 files changed, 0 insertions, 0 deletions