summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fbd09e4)
raw | patch | inline | side by side (parent: fbd09e4)
author | Michael Haggerty <mhagger@alum.mit.edu> | |
Mon, 12 Dec 2011 05:38:14 +0000 (06:38 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 12 Dec 2011 17:08:52 +0000 (09:08 -0800) |
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c | patch | blob | history |
index 197579205bf8dcc2dc2c1950ef27c7385a50697a..2252c663b95a04ce930d23c42b0a7f04ad27852c 100644 (file)
--- a/refs.c
+++ b/refs.c
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)