diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2011-12-12 06:38:14 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-12-12 09:08:52 -0800 |
commit | 6af1038beef46b46077a873f66e6742d3c0fe99f (patch) | |
tree | c789d0911630aab71ff148971028d0435ebe0a0d /refs.c | |
parent | parse_ref_line(): add docstring (diff) | |
download | tgif-6af1038beef46b46077a873f66e6742d3c0fe99f.tar.xz |
add_ref(): add docstring
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.c')
-rw-r--r-- | refs.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) |