Change the signature of read_packed_refs()
commitdb4dd93a4a3553c61b416db924520b55bfee5f7e
authorMichael Haggerty <mhagger@alum.mit.edu>
Fri, 12 Aug 2011 22:36:26 +0000 (13 00:36 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 14 Aug 2011 22:18:52 +0000 (14 15:18 -0700)
tree2c34f7da939002d88cf6de8436e3c231eda7fbbf
parent4349a66805129ba11121b8a5eaf3f81cfd30bdd5
Change the signature of read_packed_refs()

Change it to return a (struct ref_list *) instead of writing into
a cached_refs structure.  (This removes the need to create a
cached_refs structure in resolve_gitlink_packed_ref(), where it
is otherwise unneeded.)

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