From 9fcfe12ac4309da9546db5b557bd41a246eb89d8 Mon Sep 17 00:00:00 2001 From: Derrick Stolee Date: Fri, 16 May 2025 18:11:53 +0000 Subject: [PATCH] pack-objects: update usage to match docs The t0450 test script verifies that builtin usage matches the synopsis in the documentation. Adjust the builtin to match and then remove 'git pack-objects' from the exception list. Signed-off-by: Derrick Stolee Signed-off-by: Junio C Hamano --- Documentation/git-pack-objects.adoc | 14 +++++++------- builtin/pack-objects.c | 10 ++++++++-- t/t0450/adoc-help-mismatches | 1 - 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/Documentation/git-pack-objects.adoc b/Documentation/git-pack-objects.adoc index 3b803d3a78..b1c5aa27da 100644 --- a/Documentation/git-pack-objects.adoc +++ b/Documentation/git-pack-objects.adoc @@ -10,13 +10,13 @@ SYNOPSIS -------- [verse] 'git pack-objects' [-q | --progress | --all-progress] [--all-progress-implied] - [--no-reuse-delta] [--delta-base-offset] [--non-empty] - [--local] [--incremental] [--window=] [--depth=] - [--revs [--unpacked | --all]] [--keep-pack=] - [--cruft] [--cruft-expiration=