git-commit-vandalism/refs
Michael Haggerty 958f964691 refs: split ref_cache code into separate files
The `ref_cache` code is currently too tightly coupled to
`files-backend`, making the code harder to understand and making it
awkward for new code to use `ref_cache` (as we indeed have planned).
Start loosening that coupling by splitting `ref_cache` into a separate
module.

This commit moves code, adds declarations, and changes the visibility
of some functions, but doesn't change any code.

The modules are still too tightly coupled, but the situation will be
improved in subsequent commits.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2017-04-16 21:32:45 -07:00
..
files-backend.c refs: split ref_cache code into separate files 2017-04-16 21:32:45 -07:00
iterator.c do_for_each_ref(): reimplement using reference iteration 2016-06-20 11:38:20 -07:00
ref-cache.c refs: split ref_cache code into separate files 2017-04-16 21:32:45 -07:00
ref-cache.h refs: split ref_cache code into separate files 2017-04-16 21:32:45 -07:00
refs-internal.h refs_verify_refname_available(): implement once for all backends 2017-04-16 21:32:45 -07:00