{"thread":{"id":"1479","subject":"[PATCH] Update unpack-objects usage and documentation.","startedAt":"2005-08-12T09:41:36Z","lastAt":"2005-08-12T09:41:36Z","messageCount":1,"participants":["Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"7111","messageId":"7v3bpf5w6n.fsf@assigned-by-dhcp.cox.net","threadId":"1479","inReplyTo":null,"subject":"[PATCH] Update unpack-objects usage and documentation.","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2005-08-12T09:41:36Z","receivedAt":"2005-08-12T09:41:36Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"It long supported -q flag to suppress progress meter without\nproperly being documented.\n---\n\n Documentation/git-unpack-objects.txt |    8 +++++++-\n unpack-objects.c                     |    2 +-\n 2 files changed, 8 insertions(+), 2 deletions(-)\n\n7d4cacb2e5ba94c45c3d5438c1703d0ea80d4ef1\ndiff --git a/Documentation/git-unpack-objects.txt b/Documentation/git-unpack-objects.txt\n--- a/Documentation/git-unpack-objects.txt\n+++ b/Documentation/git-unpack-objects.txt\n@@ -9,7 +9,7 @@ git-unpack-objects - Unpack objects from\n \n SYNOPSIS\n --------\n-'git-unpack-objects' < pack-file\n+'git-unpack-objects' [-q] <pack-file\n \n \n DESCRIPTION\n@@ -18,6 +18,12 @@ Reads a packed archive (.pack) from the \n expands the objects contained in the pack into \"one-file\n one-object\" format in $GIT_OBJECT_DIRECTORY.\n \n+OPTIONS\n+-------\n+-q::\n+\tThe command usually shows percentage progress.  This\n+\tflag suppresses it.\n+\n \n Author\n ------\ndiff --git a/unpack-objects.c b/unpack-objects.c\n--- a/unpack-objects.c\n+++ b/unpack-objects.c\n@@ -6,7 +6,7 @@\n #include <sys/time.h>\n \n static int dry_run, quiet;\n-static const char unpack_usage[] = \"git-unpack-objects < pack-file\";\n+static const char unpack_usage[] = \"git-unpack-objects [-q] < pack-file\";\n \n /* We always read in 4kB chunks. */\n static unsigned char buffer[4096];\n"}]}