pack-refs: merge code from pack-refs.{c,h} into refs.{c,h}
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 22 Apr 2013 19:52:32 +0000 (21:52 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 May 2013 22:33:11 +0000 (15:33 -0700)
commit32d462cea80cd52b2c3fa0d538aba7fcf079ba77
tree564a901875d829862f6c823b676871225a8c535e
parent0c0c0bd25e4bea1fb1f48e8bca3ce9b68d69ee93
pack-refs: merge code from pack-refs.{c,h} into refs.{c,h}

pack-refs.c doesn't contain much code, and the code it does contain is
closely related to reference handling.  Moreover, there is some
duplication between pack_refs() and repack_without_ref().  Therefore,
merge pack-refs.c into refs.c and pack-refs.h into refs.h.

The code duplication will be addressed in future commits.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
builtin/clone.c
builtin/pack-refs.c
pack-refs.c [deleted file]
pack-refs.h [deleted file]
refs.c
refs.h