From: Junio C Hamano Date: Mon, 23 Jan 2023 21:39:49 +0000 (-0800) Subject: Merge branch 'ab/cache-api-cleanup' X-Git-Tag: v2.40.0-rc0~66 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8844c1125eae13a9e9dc7d68909cc73497e8d4b0;p=thirdparty%2Fgit.git Merge branch 'ab/cache-api-cleanup' Code clean-up to tighten the use of in-core index in the API. * ab/cache-api-cleanup: cache API: add a "INDEX_STATE_INIT" macro/function, add release_index() read-cache.c: refactor set_new_index_sparsity() for subsequent commit sparse-index API: BUG() out on NULL ensure_full_index() sparse-index.c: expand_to_path() can assume non-NULL "istate" builtin/difftool.c: { 0 }-initialize rather than using memset() --- 8844c1125eae13a9e9dc7d68909cc73497e8d4b0