fetch-pack: -k option to keep downloaded pack.
commitad8972150887a8ed3dd4869fc9318cc2e48dd69f
authorJunio C Hamano <junkio@cox.net>
Thu, 15 Dec 2005 06:17:38 +0000 (14 22:17 -0800)
committerJunio C Hamano <junkio@cox.net>
Sun, 18 Dec 2005 07:11:29 +0000 (17 23:11 -0800)
tree14caab692aff3f2be7365e7c6f18fa1e5aa3dfe3
parentc054d64e8783e5ac2fa68c382f00df9087bca0f9
fetch-pack: -k option to keep downloaded pack.

Split out the functions that deal with the socketpair after
finishing git protocol handshake to receive the packed data into
a separate file, and use it in fetch-pack to keep/explode the
received pack data.  We earlier had something like that on
clone-pack side once, but the list discussion resulted in the
decision that it makes sense to always keep the pack for
clone-pack, so unpacking option is not enabled on the clone-pack
side, but we later still could do so easily if we wanted to with
this change.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-fetch-pack.txt
Makefile
cache.h
clone-pack.c
fetch-clone.c [new file with mode: 0644]
fetch-pack.c