Code

add_packed_ref(): new function in the refs API.
authorMichael Haggerty <mhagger@alum.mit.edu>
Tue, 17 Jan 2012 05:50:33 +0000 (06:50 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Jan 2012 19:55:04 +0000 (11:55 -0800)
commit30249ee68fa5fa63bfb9bb417987b0547253b8e7
treefd474eab1ad3af967bafb425fa6bcc00b209ebc5
parente6ed3ca651fac702f9d9a9ef64a14c7efadf7365
add_packed_ref(): new function in the refs API.

Add a new function add_packed_ref() that adds a reference directly to
the in-memory packed reference cache.  This will be useful for
creating local references while cloning.

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