Update unpack-objects usage and documentation.

It long supported -q flag to suppress progress meter without
properly being documented.
This commit is contained in:
Junio C Hamano 2005-08-12 01:45:52 -07:00
parent 0d62fb5672
commit 87b7b84159
2 changed files with 8 additions and 2 deletions

View File

@ -9,7 +9,7 @@ git-unpack-objects - Unpack objects from a packed archive.
SYNOPSIS SYNOPSIS
-------- --------
'git-unpack-objects' < pack-file 'git-unpack-objects' [-q] <pack-file
DESCRIPTION DESCRIPTION
@ -18,6 +18,12 @@ Reads a packed archive (.pack) from the standard input, and
expands the objects contained in the pack into "one-file expands the objects contained in the pack into "one-file
one-object" format in $GIT_OBJECT_DIRECTORY. one-object" format in $GIT_OBJECT_DIRECTORY.
OPTIONS
-------
-q::
The command usually shows percentage progress. This
flag suppresses it.
Author Author
------ ------

View File

@ -6,7 +6,7 @@
#include <sys/time.h> #include <sys/time.h>
static int dry_run, quiet; 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. */ /* We always read in 4kB chunks. */
static unsigned char buffer[4096]; static unsigned char buffer[4096];