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

[PATCH] Update git-unpack-objects documentation.

From
sean <seanlkml@sympatico.ca>
Date
May 5, 2006, 19:05 UTC
Message-ID
<BAYC1-PASMTP03E37EFDF14A67A7A70279AEB50@CEZ.ICE>

Document that git-unpack-objects will not produce any results when used on a pack that exists in a repository; move it first.

Signed-off-by: Sean Estabrooks <seanlkml@sympatico.ca>
---
 Documentation/git-unpack-objects.txt |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
68facf4045556d10c541534a086b3c6486a1c5fb
diff --git a/Documentation/git-unpack-objects.txt b/Documentation/git-unpack-objects.txt
index 1828062..c20b38b 100644
--- a/Documentation/git-unpack-objects.txt
+++ b/Documentation/git-unpack-objects.txt
@@ -13,9 +13,16 @@ SYNOPSIS
 
 DESCRIPTION
 -----------
-Reads a packed archive (.pack) from the standard input, and
-expands the objects contained in the pack into "one-file
-one-object" format in $GIT_OBJECT_DIRECTORY.
+Read a packed archive (.pack) from the standard input, expanding
+the objects contained within and writing them into the repository in
+"loose" (one object per file) format.
+
+Objects that already exist in the repository will *not* be unpacked
+from the pack-file.  Therefore, nothing will be unpacked if you use
+this command on a pack-file that exists within the target repository.
+
+Please see the `git-repack` documentation for options to generate
+new packs and replace existing ones.
 
 OPTIONS
 -------
-- 
1.3.1.g9c203
Message 1 of 1 in “Update git-unpack-objects documentation.”
  1. Update git-unpack-objects documentation.sean, May 5, 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.