From: Michael Haggerty Date: Mon, 12 Dec 2011 05:38:14 +0000 (+0100) Subject: add_ref(): add docstring X-Git-Tag: v1.7.9-rc0~35^2~9 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6af1038beef46b46077a873f66e6742d3c0fe99f;p=git.git add_ref(): add docstring Signed-off-by: Michael Haggerty Signed-off-by: Junio C Hamano --- 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)