diff options
author | Junio C Hamano <junkio@cox.net> | 2005-10-12 18:12:27 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-12 18:32:03 -0700 |
commit | 64c381bf740a0a698fe7556fbb346b700b934f7c (patch) | |
tree | 1970e5869a42fd4095917d861654dc84d60f02b7 /Documentation | |
parent | clone-pack: new option --keep tells it not to explode the pack. (diff) | |
download | tgif-64c381bf740a0a698fe7556fbb346b700b934f7c.tar.xz |
clone-pack: new option --keep tells it not to explode the pack.
With new option --keep, or a configuration item clone.keeppack (we
need a better name, or start allowing dash,"clone.keep-pack"), the packed
data downloaded while cloning is saved as a pack in .git/objects/pack/
locally, with index generated for it with git-index-pack.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-clone-pack.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/git-clone-pack.txt b/Documentation/git-clone-pack.txt index 87c0e460d4..b58165a5fc 100644 --- a/Documentation/git-clone-pack.txt +++ b/Documentation/git-clone-pack.txt @@ -8,7 +8,7 @@ git-clone-pack - Clones a repository by receiving packed objects. SYNOPSIS -------- -'git-clone-pack' [-q] [--exec=<git-upload-pack>] [<host>:]<directory> [<head>...] +'git-clone-pack' [-q] [--keep] [--exec=<git-upload-pack>] [<host>:]<directory> [<head>...] DESCRIPTION ----------- @@ -23,6 +23,11 @@ OPTIONS Pass '-q' flag to 'git-unpack-objects'; this makes the cloning process less verbose. +--keep:: + 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 it is not found on your $PATH. |