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>
This commit is contained in:

committed by
Junio C Hamano

parent
0c0c0bd25e
commit
32d462cea8
@ -1,6 +1,6 @@
|
||||
#include "builtin.h"
|
||||
#include "parse-options.h"
|
||||
#include "pack-refs.h"
|
||||
#include "refs.h"
|
||||
|
||||
static char const * const pack_refs_usage[] = {
|
||||
N_("git pack-refs [options]"),
|
||||
|
Reference in New Issue
Block a user