add_ref(): add docstring
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
fbd09e41d5
commit
6af1038bee
1
refs.c
1
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)
|
||||
|
Loading…
Reference in New Issue
Block a user