Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
add_ref(): add docstring
[gitweb.git]
/
refs.c
diff --git
a/refs.c
b/refs.c
index 197579205bf8dcc2dc2c1950ef27c7385a50697a..2252c663b95a04ce930d23c42b0a7f04ad27852c 100644
(file)
--- a/
refs.c
+++ b/
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)