]> git.ipfire.org Git - thirdparty/git.git/commit - refs.c
create_ref_entry(): extract function from add_ref()
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 12 Dec 2011 05:38:22 +0000 (06:38 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Dec 2011 17:08:53 +0000 (09:08 -0800)
commitcddc42587cbb37f8ff2f34b53550b5e331aa3aa5
tree70fdfa5eff90878fcff0011afccc0dbc287ed8b9
parentfe9c7b78c5487dc4595559fb6e731b46294b6a0d
create_ref_entry(): extract function from add_ref()

Separate the creation of the ref_entry from its addition to a ref_array.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c