Skip to contentSkip to conversation

Update packedGit config option documentation.

PATCH In review Shawn O. Pearce 1 participant 1 message Jun 15, 2016 1 message not in the archive Documentation

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 298445c23601229930799536790f548b0572a92b.1167534738.git.spearce@spearce.org

#1 lore raw

PATCH 2/2 Update packedGit config option documentation.

Corrected minor typos and documented the new k/m/g suffix for core.packedGitWindowSize and core.packedGitLimit.

---

For sp/mmap. Replaces my prior patch in the same area.

 Documentation/config.txt |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
Documentation/config.txt +6 -2
index d71653d..8f41fcf 100644
@@ -123,21 +123,25 @@ core.packedGitWindowSize::
 	single mapping operation.  Larger window sizes may allow
 	your system to process a smaller number of large pack files
 	more quickly.  Smaller window sizes will negatively affect
-	performance due to increased calls to the opreating system's
+	performance due to increased calls to the operating system's
 	memory manager, but may improve performance when accessing
 	a large number of large pack files.  Default is 32 MiB,
 	which should be reasonable for all users/operating systems.
 	You probably do not need to adjust this value.
 
+	Common unit suffixes of 'k', 'm', or 'g' are supported.
+
 core.packedGitLimit::
 	Maximum number of bytes to map simultaneously into memory
 	from pack files.  If Git needs to access more than this many
 	bytes at once to complete an operation it will unmap existing
 	regions to reclaim virtual address space within the process.
 	Default is 256 MiB, which should be reasonable for all
-	users/operating systems, except on largest Git projects.
+	users/operating systems, except on the largest projects.
 	You probably do not need to adjust this value.
 
+	Common unit suffixes of 'k', 'm', or 'g' are supported.
+
 alias.*::
 	Command aliases for the gitlink:git[1] command wrapper - e.g.
 	after defining "alias.last = cat-file commit HEAD", the invocation
Signature · 1 line
1.5.0.rc0.g6bb1