• J
    Move pack_refs() and friends into libgit · 94e724a7
    Johan Herland 提交于
    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: NJohan Herland <johan@herland.net>
    Signed-off-by: NJunio C Hamano <gitster@pobox.com>
    94e724a7
pack-refs.c 2.8 KB