diff options
author | Junio C Hamano <junkio@cox.net> | 2005-12-14 22:17:38 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-12-17 23:11:29 -0800 |
commit | ad8972150887a8ed3dd4869fc9318cc2e48dd69f (patch) | |
tree | 14caab692aff3f2be7365e7c6f18fa1e5aa3dfe3 /Documentation/git-fetch-pack.txt | |
parent | c054d64e8783e5ac2fa68c382f00df9087bca0f9 (diff) | |
download | git-ad8972150887a8ed3dd4869fc9318cc2e48dd69f.tar.gz |
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>
Diffstat (limited to 'Documentation/git-fetch-pack.txt')
-rw-r--r-- | Documentation/git-fetch-pack.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/git-fetch-pack.txt b/Documentation/git-fetch-pack.txt index ea6faab059..b507e9b648 100644 --- a/Documentation/git-fetch-pack.txt +++ b/Documentation/git-fetch-pack.txt @@ -8,7 +8,7 @@ git-fetch-pack - Receive missing objects from another repository. SYNOPSIS -------- -git-fetch-pack [-q] [--exec=<git-upload-pack>] [<host>:]<directory> [<refs>...] +git-fetch-pack [-q] [-k] [--exec=<git-upload-pack>] [<host>:]<directory> [<refs>...] DESCRIPTION ----------- @@ -29,6 +29,11 @@ OPTIONS Pass '-q' flag to 'git-unpack-objects'; this makes the cloning process less verbose. +-k:: + Do not invoke 'git-unpack-objects' on received data, but + create a single packfile out of it instead, and store it + in the object database. + --exec=<git-upload-pack>:: Use this to specify the path to 'git-upload-pack' on the remote side, if is not found on your $PATH. |