@@ -18,8 +18,9 @@ SYNOPSIS
18
18
19
19
DESCRIPTION
20
20
-----------
21
- Reads list of objects from the standard input, and writes a packed
22
- archive with specified base-name, or to the standard output.
21
+ Reads list of objects from the standard input, and writes either one or
22
+ more packed archives with the specified base-name to disk, or a packed
23
+ archive to the standard output.
23
24
24
25
A packed archive is an efficient way to transfer a set of objects
25
26
between two repositories as well as an access efficient archival
@@ -47,9 +48,9 @@ transport by their peers.
47
48
OPTIONS
48
49
-------
49
50
base-name::
50
- Write into a pair of files (.pack and .idx), using
51
+ Write into pairs of files (.pack and .idx), using
51
52
<base-name> to determine the name of the created file.
52
- When this option is used, the two files are written in
53
+ When this option is used, the two files in a pair are written in
53
54
<base-name>-<SHA-1>.{pack,idx} files. <SHA-1> is a hash
54
55
based on the pack content and is written to the standard
55
56
output of the command.
@@ -108,9 +109,13 @@ base-name::
108
109
is taken from the `pack.windowMemory` configuration variable.
109
110
110
111
--max-pack-size=<n>::
111
- Maximum size of each output pack file. The size can be suffixed with
112
+ In unusual scenarios, you may not be able to create files
113
+ larger than a certain size on your filesystem, and this option
114
+ can be used to tell the command to split the output packfile
115
+ into multiple independent packfiles, each not larger than the
116
+ given size. The size can be suffixed with
112
117
"k", "m", or "g". The minimum size allowed is limited to 1 MiB.
113
- If specified, multiple packfiles may be created, which also
118
+ This option
114
119
prevents the creation of a bitmap index.
115
120
The default is unlimited, unless the config variable
116
121
`pack.packSizeLimit` is set.
0 commit comments