From 6af1038beef46b46077a873f66e6742d3c0fe99f Mon Sep 17 00:00:00 2001 From: Michael Haggerty Date: Mon, 12 Dec 2011 06:38:14 +0100 Subject: [PATCH] add_ref(): add docstring Signed-off-by: Michael Haggerty Signed-off-by: Junio C Hamano --- refs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/refs.c b/refs.c index 197579205..2252c663b 100644 --- a/refs.c +++ b/refs.c @@ -53,6 +53,7 @@ static const char *parse_ref_line(char *line, unsigned char *sha1) return line; } +/* Add a ref_entry to the end of the ref_array (unsorted). */ static void add_ref(const char *refname, const unsigned char *sha1, int flag, int check_name, struct ref_array *refs, struct ref_entry **new_entry) -- 2.26.2