summaryrefslogtreecommitdiff
path: root/git-svn.perl
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2015-11-10 12:42:36 +0100
committerLibravatar Jeff King <peff@peff.net>2015-11-20 04:52:01 -0500
commit4cb77009e1fa692e56048754e2032ed044f28c26 (patch)
treedf8192eb8b7141896bad922791efbecec5510622 /git-svn.perl
parentrefname_is_safe(): improve docstring (diff)
downloadtgif-4cb77009e1fa692e56048754e2032ed044f28c26.tar.xz
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 'git-svn.perl')
0 files changed, 0 insertions, 0 deletions