Skip to content

Commit

Permalink
fetch-pack: move core code to libgit.a
Browse files Browse the repository at this point in the history
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
Nguyễn Thái Ngọc Duy authored and Jeff King committed Oct 29, 2012
1 parent f8eb303 commit 745f7a8
Show file tree
Hide file tree
Showing 3 changed files with 952 additions and 948 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit 745f7a8

Please sign in to comment.