From: Junio C Hamano <junkio@cox.net>
To: git@vger.kernel.org
Subject: [PATCH] Update unpack-objects usage and documentation.
Date: Fri, 12 Aug 2005 02:41:36 -0700 [thread overview]
Message-ID: <7v3bpf5w6n.fsf@assigned-by-dhcp.cox.net> (raw)
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];
reply other threads:[~2005-08-12 9:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7v3bpf5w6n.fsf@assigned-by-dhcp.cox.net \
--to=junkio@cox.net \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox