Skip to content

Commit c3d2d34

Browse files
committed
Merge branch 'rd/man-prune-progress'
Doc update. * rd/man-prune-progress: prune: add "--progress" to man page and usage msg
2 parents e8b96bd + 1a1fc2d commit c3d2d34

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Documentation/git-prune.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ git-prune - Prune all unreachable objects from the object database
99
SYNOPSIS
1010
--------
1111
[verse]
12-
'git prune' [-n] [-v] [--expire <expire>] [--] [<head>...]
12+
'git prune' [-n] [-v] [--progress] [--expire <time>] [--] [<head>...]
1313

1414
DESCRIPTION
1515
-----------
@@ -42,12 +42,15 @@ OPTIONS
4242
--verbose::
4343
Report all removed objects.
4444

45-
\--::
46-
Do not interpret any more arguments as options.
45+
--progress::
46+
Show progress.
4747

4848
--expire <time>::
4949
Only expire loose objects older than <time>.
5050

51+
\--::
52+
Do not interpret any more arguments as options.
53+
5154
<head>...::
5255
In addition to objects
5356
reachable from any of our references, keep objects

builtin/prune.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include "progress.h"
99

1010
static const char * const prune_usage[] = {
11-
N_("git prune [-n] [-v] [--expire <time>] [--] [<head>...]"),
11+
N_("git prune [-n] [-v] [--progress] [--expire <time>] [--] [<head>...]"),
1212
NULL
1313
};
1414
static int show_only;

0 commit comments

Comments
 (0)