Document the -n command-line option to git-unpack-objects
This patch documents the -n command-line option to git-unpack-objects, as it was previously undocumented. Signed-off-by: Nikolai Weibull <nikolai@bitwi.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
9add69b1b1
commit
b2309b7019
@ -8,7 +8,7 @@ git-unpack-objects - Unpack objects from a packed archive.
|
|||||||
|
|
||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
--------
|
--------
|
||||||
'git-unpack-objects' [-q] <pack-file
|
'git-unpack-objects' [-n] [-q] <pack-file
|
||||||
|
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
@ -19,6 +19,10 @@ one-object" format in $GIT_OBJECT_DIRECTORY.
|
|||||||
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-------
|
-------
|
||||||
|
-n::
|
||||||
|
Only list the objects that would be unpacked, don't actually unpack
|
||||||
|
them.
|
||||||
|
|
||||||
-q::
|
-q::
|
||||||
The command usually shows percentage progress. This
|
The command usually shows percentage progress. This
|
||||||
flag suppresses it.
|
flag suppresses it.
|
||||||
|
@ -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 [-q] < pack-file";
|
static const char unpack_usage[] = "git-unpack-objects [-n] [-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];
|
||||||
|
Loading…
Reference in New Issue
Block a user