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