Skip to content

Commit 745f7a8

Browse files
pcloudspeff
authored andcommitted
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 <[email protected]> Signed-off-by: Jeff King <[email protected]>
1 parent f8eb303 commit 745f7a8

File tree

3 files changed

+952
-948
lines changed

3 files changed

+952
-948
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,7 @@ LIB_OBJS += editor.o
746746
LIB_OBJS += entry.o
747747
LIB_OBJS += environment.o
748748
LIB_OBJS += exec_cmd.o
749+
LIB_OBJS += fetch-pack.o
749750
LIB_OBJS += fsck.o
750751
LIB_OBJS += gettext.o
751752
LIB_OBJS += gpg-interface.o

0 commit comments

Comments
 (0)