summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2015-11-10 11:42:36 (GMT)
committerJeff King <peff@peff.net>2015-11-20 09:52:01 (GMT)
commit4cb77009e1fa692e56048754e2032ed044f28c26 (patch)
treedf8192eb8b7141896bad922791efbecec5510622 /builtin
parent03b32623d82d20835d8dda3f9ce9900f09485d11 (diff)
downloadgit-4cb77009e1fa692e56048754e2032ed044f28c26.zip
git-4cb77009e1fa692e56048754e2032ed044f28c26.tar.gz
git-4cb77009e1fa692e56048754e2032ed044f28c26.tar.bz2
refs/refs-internal.h: new header file
There are a number of constants, structs, and static functions defined in refs.c and treated as private to the references module. But we want to support multiple reference backends within the reference module, and those backends will need access to some heretofore private declarations. We don't want those declarations to be visible to non-refs code, so we don't want to move them to refs.h. Instead, add a new header file, refs/refs-internal.h, that is intended to be included only from within the refs module. Make some functions non-static and move some declarations (and their corresponding docstrings) from refs.c to this file. In a moment we will add more content to the "refs" subdirectory. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Jeff King <peff@peff.net>
Diffstat (limited to 'builtin')
0 files changed, 0 insertions, 0 deletions