Commits


plug memory leaks in got-fetch-pack and got-send-pack ok naddy


add missing <sys/types.h> include


whitespace fix


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.