git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 2/2] Update packedGit config option documentation.

From
Shawn O. Pearce <spearce@spearce.org>
Date
Dec 31, 2006, 03:13 UTC
Message-ID
<20061231031343.GB5620@spearce.org>
In-Reply-To
<298445c23601229930799536790f548b0572a92b.1167534738.git.spearce@spearce.org>

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

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
---
 For sp/mmap.  Replaces my prior patch in the same area.
 Documentation/config.txt |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/Documentation/config.txt b/Documentation/config.txt
index d71653d..8f41fcf 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -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
-- 
1.5.0.rc0.g6bb1
Message 1 of 1 in “Update packedGit config option documentation.”
  1. 2/2 Update packedGit config option documentation.Shawn O. Pearce, Dec 31, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.