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]; - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html