author | Johan Herland <johan@herland.net> | |
Sun, 15 Jun 2008 14:05:06 +0000 (16:05 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 19 Jun 2008 22:53:13 +0000 (15:53 -0700) | ||
commit | 94e724a741590e741a540075c07a961082e3c80a | |
tree | cd02ced7df3b20ad31c70d7e3d8dca3cd39ec6bd | tree | snapshot |
parent | 48ec3e5c073e97c15842ac16523444786b37774e | commit | diff |
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>
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 | diff | blob | history | |
builtin-pack-refs.c | diff | blob | history | |
pack-refs.c | [new file with mode: 0644] | blob |
pack-refs.h | [new file with mode: 0644] | blob |