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

fetch_pack() is used by transport.c, part of libgit.a while it stays
in builtin/fetch-pack.c. Move it to fetch-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/fetch-pack.c
fetch-pack.c [new file with mode: 0644]