[PATCH 13/17] repack: update usage to match docs
- From
Derrick Stolee via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Oct 8, 2024, 14:11 UTC
- Message-ID
- <eae96e8214fc87cbc02e55f0957d6f2bd2eba472.1728396724.git.gitgitgadget@gmail.com>
- In-Reply-To
- <pull.1813.git.1728396723.gitgitgadget@gmail.com>
From: Derrick Stolee <stolee@gmail.com>
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 <stolee@gmail.com> --- builtin/repack.c | 2 +- t/t0450/txt-help-mismatches | 1 - 2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/builtin/repack.c b/builtin/repack.c index af3f218ced7..50f208b48b4 100644 --- a/builtin/repack.c +++ b/builtin/repack.c @@ -41,7 +41,7 @@ static char *packdir, *packtmp_name, *packtmp; static const char *const git_repack_usage[] = { N_("git repack [-a] [-A] [-d] [-f] [-F] [-l] [-n] [-q] [-b] [-m]\n" "[--window=<n>] [--depth=<n>] [--threads=<n>] [--keep-pack=<pack-name>]\n" - "[--write-midx] [--full-path-walk]"), + "[--write-midx] [--path-walk]"), NULL }; diff --git a/t/t0450/txt-help-mismatches b/t/t0450/txt-help-mismatches index 285ae81a6b5..06b469bdee2 100644 --- a/t/t0450/txt-help-mismatches +++ b/t/t0450/txt-help-mismatches @@ -44,7 +44,6 @@ rebase remote remote-ext remote-fd -repack reset restore rev-parse
-- gitgitgadget