Skip to content

Commit

Permalink
add_ref(): add docstring
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Michael Haggerty authored and Junio C Hamano committed Dec 12, 2011
1 parent fbd09e4 commit 6af1038
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions refs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6af1038

Please sign in to comment.