Commits on May 1, 2013
  1. pack-refs: merge code from pack-refs.{c,h} into refs.{c,h}

    mhagger committed with gitster Apr 22, 2013
    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 <>
    Signed-off-by: Junio C Hamano <>
Commits on Jun 19, 2008
  1. Move pack_refs() and friends into libgit

    jherland committed with gitster Jun 15, 2008
    This moves pack_refs() and underlying functionality into the library,
    to make pack-refs functionality easily available to all git programs.
    Most of builtin-pack-refs.c has been moved verbatim into a new file
    pack-refs.c that is compiled into libgit.a. A corresponding header
    file, pack-refs.h, has also been added, declaring pack_refs() and
    the #defines associated with the flags parameter to pack_refs().
    This patch introduces no other changes in functionality.
    Signed-off-by: Johan Herland <>
    Signed-off-by: Junio C Hamano <>