Hash :
bd3d9e54
Author :
Date :
2021-09-05T14:21:02
move more code used by got-send-pack and got-fetch-pack to a common file Move functions and data structures which implement Git protocol features required for fetching and sending pack files to new files lib/gitproto.c and lib/got_lib_gitproto.h. This code was duplicated in got-fetch-pack and got-send-pack. No functional change.
.PATH:${.CURDIR}/../../lib
.include "../../got-version.mk"
PROG= got-fetch-pack
SRCS= got-fetch-pack.c error.c inflate.c object_parse.c \
path.c privsep.c sha1.c pkt.c gitproto.c
CPPFLAGS = -I${.CURDIR}/../../include -I${.CURDIR}/../../lib
LDADD = -lutil -lz
DPADD = ${LIBZ} ${LIBUTIL}
.include <bsd.prog.mk>