Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 87b7b84

Browse files
author
Junio C Hamano
committed
Update unpack-objects usage and documentation.
It long supported -q flag to suppress progress meter without properly being documented.
1 parent 0d62fb5 commit 87b7b84

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Documentation/git-unpack-objects.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ git-unpack-objects - Unpack objects from a packed archive.
99

1010
SYNOPSIS
1111
--------
12-
'git-unpack-objects' < pack-file
12+
'git-unpack-objects' [-q] <pack-file
1313

1414

1515
DESCRIPTION
@@ -18,6 +18,12 @@ Reads a packed archive (.pack) from the standard input, and
1818
expands the objects contained in the pack into "one-file
1919
one-object" format in $GIT_OBJECT_DIRECTORY.
2020

21+
OPTIONS
22+
-------
23+
-q::
24+
The command usually shows percentage progress. This
25+
flag suppresses it.
26+
2127

2228
Author
2329
------

unpack-objects.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include <sys/time.h>
77

88
static int dry_run, quiet;
9-
static const char unpack_usage[] = "git-unpack-objects < pack-file";
9+
static const char unpack_usage[] = "git-unpack-objects [-q] < pack-file";
1010

1111
/* We always read in 4kB chunks. */
1212
static unsigned char buffer[4096];

0 commit comments

Comments
 (0)