send-pack: move core code to libgit.a
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Fri, 26 Oct 2012 15:53:53 +0000 (22:53 +0700)
committerJeff King <peff@peff.net>
Mon, 29 Oct 2012 07:08:30 +0000 (03:08 -0400)
commitf5d942e1ede7ce5e74537d3021df9fdc179a8377
tree4c5c9ffba07787cf635df9aa230973d82dafed36
parent4914c9629c046f7f5abf4109ad756040f9ebe2bf
send-pack: move core code to libgit.a

send_pack() is used by transport.c, part of libgit.a while it stays in
builtin/send-pack.c. Move it to send-pack.c so that we won't get
undefined reference if a program that uses libgit.a happens to pull it
in.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Jeff King <peff@peff.net>
Makefile
builtin/send-pack.c
send-pack.c [new file with mode: 0644]
transport.h