Permalink
Browse files

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>
  • Loading branch information...
pclouds authored and peff committed Oct 26, 2012
1 parent f8eb303 commit 745f7a8cacae55df3e00507344d8db2a31eb57e8
Showing with 952 additions and 948 deletions.
  1. +1 −0 Makefile
  2. +0 −948 builtin/fetch-pack.c
  3. +951 −0 fetch-pack.c
View
@@ -746,6 +746,7 @@ LIB_OBJS += editor.o
LIB_OBJS += entry.o
LIB_OBJS += environment.o
LIB_OBJS += exec_cmd.o
+LIB_OBJS += fetch-pack.o
LIB_OBJS += fsck.o
LIB_OBJS += gettext.o
LIB_OBJS += gpg-interface.o
Oops, something went wrong.

0 comments on commit 745f7a8

Please sign in to comment.