Skip to content

Commit eb92242

Browse files
spearceJunio C Hamano
authored andcommitted
Update packedGit config option documentation.
Corrected minor typos and documented the new k/m/g suffix for core.packedGitWindowSize and core.packedGitLimit. [jc: with a minor markup fix.] Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 76d4e07 commit eb92242

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Documentation/config.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,20 +123,24 @@ core.packedGitWindowSize::
123123
single mapping operation. Larger window sizes may allow
124124
your system to process a smaller number of large pack files
125125
more quickly. Smaller window sizes will negatively affect
126-
performance due to increased calls to the opreating system's
126+
performance due to increased calls to the operating system's
127127
memory manager, but may improve performance when accessing
128128
a large number of large pack files. Default is 32 MiB,
129129
which should be reasonable for all users/operating systems.
130130
You probably do not need to adjust this value.
131+
+
132+
Common unit suffixes of 'k', 'm', or 'g' are supported.
131133

132134
core.packedGitLimit::
133135
Maximum number of bytes to map simultaneously into memory
134136
from pack files. If Git needs to access more than this many
135137
bytes at once to complete an operation it will unmap existing
136138
regions to reclaim virtual address space within the process.
137139
Default is 256 MiB, which should be reasonable for all
138-
users/operating systems, except on largest Git projects.
140+
users/operating systems, except on the largest projects.
139141
You probably do not need to adjust this value.
142+
+
143+
Common unit suffixes of 'k', 'm', or 'g' are supported.
140144

141145
alias.*::
142146
Command aliases for the gitlink:git[1] command wrapper - e.g.

0 commit comments

Comments
 (0)