Skip to content

Commit 0730511

Browse files
committed
repack: update usage to match docs
The t0450 test script verifies that the builtin usage matches the synopsis in the documentation. Update 'git repack' to match and remove it from the exception list. Signed-off-by: Derrick Stolee <[email protected]>
1 parent b189f48 commit 0730511

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

builtin/repack.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ static char *packdir, *packtmp_name, *packtmp;
4141
static const char *const git_repack_usage[] = {
4242
N_("git repack [-a] [-A] [-d] [-f] [-F] [-l] [-n] [-q] [-b] [-m]\n"
4343
"[--window=<n>] [--depth=<n>] [--threads=<n>] [--keep-pack=<pack-name>]\n"
44-
"[--write-midx] [--full-path-walk]"),
44+
"[--write-midx] [--path-walk]"),
4545
NULL
4646
};
4747

t/t0450/txt-help-mismatches

-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ rebase
4444
remote
4545
remote-ext
4646
remote-fd
47-
repack
4847
reset
4948
restore
5049
rev-parse

0 commit comments

Comments
 (0)