parse_ref_line(): add docstring

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Michael Haggerty committed Dec 12, 2011 at 06:38 UTC fbd09e41d571fb45ae702027f74bec345887749d
1 file changed +5
refs.c
+5
@@ -20,6 +20,11 @@ struct ref_array {
20 struct ref_entry **refs;
21 };
22
23 +/*
24 + * Parse one line from a packed-refs file. Write the SHA1 to sha1.
25 + * Return a pointer to the refname within the line (null-terminated),
26 + * or NULL if there was a problem.
27 + */
28 static const char *parse_ref_line(char *line, unsigned char *sha1)
29 {
30 /*