summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0d62fb5)
raw | patch | inline | side by side (parent: 0d62fb5)
author | Junio C Hamano <junkio@cox.net> | |
Fri, 12 Aug 2005 08:45:52 +0000 (01:45 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 12 Aug 2005 17:38:20 +0000 (10:38 -0700) |
It long supported -q flag to suppress progress meter without
properly being documented.
properly being documented.
Documentation/git-unpack-objects.txt | patch | blob | history | |
unpack-objects.c | patch | blob | history |
index a12b8438bfd67df7fdee520fd039a9b39415d3bb..a42a75e0773384aacec4d1c05c3a1d86aec01e6a 100644 (file)
SYNOPSIS
--------
-'git-unpack-objects' < pack-file
+'git-unpack-objects' [-q] <pack-file
DESCRIPTION
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
index 7e7be5cbd42e2f6ad178f1a2832673c8e9279e4e..8ae1a1c0fdab32e6c596872d857f40c5f87b97d4 100644 (file)
--- a/unpack-objects.c
+++ b/unpack-objects.c
#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];