diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2015-06-22 16:03:05 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-06-22 13:17:12 -0700 |
commit | fb58c8d50734c14a90f3e4e7dd99f36e4f37c4e6 (patch) | |
tree | d9e21b6047e0c56c736c9ed410747874a8f5e932 /refs.c | |
parent | e426ff4222ba82a57ed459320509273dc8959ade (diff) | |
download | git-fb58c8d50734c14a90f3e4e7dd99f36e4f37c4e6.tar.gz |
refs: move the remaining ref module declarations to refs.h
Some functions from the refs module were still declared in cache.h.
Move them to refs.h.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.c')
-rw-r--r-- | refs.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1732,9 +1732,11 @@ const char *resolve_ref_unsafe(const char *refname, int resolve_flags, return ret; } -char *resolve_refdup(const char *ref, int resolve_flags, unsigned char *sha1, int *flags) +char *resolve_refdup(const char *refname, int resolve_flags, + unsigned char *sha1, int *flags) { - return xstrdup_or_null(resolve_ref_unsafe(ref, resolve_flags, sha1, flags)); + return xstrdup_or_null(resolve_ref_unsafe(refname, resolve_flags, + sha1, flags)); } /* The argument to filter_refs */ |