]> git.ipfire.org Git - thirdparty/git.git/commit - Makefile
Move pack_refs() and friends into libgit
authorJohan Herland <johan@herland.net>
Sun, 15 Jun 2008 14:05:06 +0000 (16:05 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Jun 2008 22:53:13 +0000 (15:53 -0700)
commit94e724a741590e741a540075c07a961082e3c80a
treecd02ced7df3b20ad31c70d7e3d8dca3cd39ec6bd
parent48ec3e5c073e97c15842ac16523444786b37774e
Move pack_refs() and friends into libgit

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 <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
builtin-pack-refs.c
pack-refs.c [new file with mode: 0644]
pack-refs.h [new file with mode: 0644]