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

[PATCH] Update unpack-objects usage and documentation.

From
Junio C Hamano <junkio@cox.net>
Date
Aug 12, 2005, 09:41 UTC
Message-ID
<7v3bpf5w6n.fsf@assigned-by-dhcp.cox.net>

It long supported -q flag to suppress progress meter without properly being documented. ---

 Documentation/git-unpack-objects.txt |    8 +++++++-
 unpack-objects.c                     |    2 +-
 2 files changed, 8 insertions(+), 2 deletions(-)
7d4cacb2e5ba94c45c3d5438c1703d0ea80d4ef1
diff --git a/Documentation/git-unpack-objects.txt b/Documentation/git-unpack-objects.txt
--- a/Documentation/git-unpack-objects.txt
+++ b/Documentation/git-unpack-objects.txt
@@ -9,7 +9,7 @@ git-unpack-objects - Unpack objects from
 
 SYNOPSIS
 --------
-'git-unpack-objects' < pack-file
+'git-unpack-objects' [-q] <pack-file
 
 
 DESCRIPTION
@@ -18,6 +18,12 @@ Reads a packed archive (.pack) from the 
 expands the objects contained in the pack into "one-file
 one-object" format in $GIT_OBJECT_DIRECTORY.
 
+OPTIONS
+-------
+-q::
+	The command usually shows percentage progress.  This
+	flag suppresses it.
+
 
 Author
 ------
diff --git a/unpack-objects.c b/unpack-objects.c
--- a/unpack-objects.c
+++ b/unpack-objects.c
@@ -6,7 +6,7 @@
 #include <sys/time.h>
 
 static int dry_run, quiet;
-static const char unpack_usage[] = "git-unpack-objects < pack-file";
+static const char unpack_usage[] = "git-unpack-objects [-q] < pack-file";
 
 /* We always read in 4kB chunks. */
 static unsigned char buffer[4096];
Message 1 of 1 in “Update unpack-objects usage and documentation.”
  1. Update unpack-objects usage and documentation.Junio C Hamano, Aug 12, 2005

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.