From: mhagger@alum.mit.edu Date: Thu, 13 Oct 2011 07:58:29 GMT Subject: [PATCH 08/14] parse_ref_line(): add docstring Message-ID: <1318492715-5931-9-git-send-email-mhagger@alum.mit.edu> In-Reply-To: <1318492715-5931-1-git-send-email-mhagger@alum.mit.edu> From: Michael Haggerty Signed-off-by: Michael Haggerty --- refs.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/refs.c b/refs.c index 7e84b63..abb03f7 100644 --- a/refs.c +++ b/refs.c @@ -21,6 +21,11 @@ struct ref_array { struct ref_entry **refs; }; +/* + * Parse one line from a packed-refs file. Return a pointer to the + * name within the line (null-terminated), or NULL if there is a + * problem. + */ static const char *parse_ref_line(char *line, unsigned char *sha1) { /* -- 1.7.7.rc2