--- v2
+++ v4
@@ -9,14 +9,14 @@
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
---
- builtin/commit-graph.c | 29 +++++++++++++++--------------
- 1 file changed, 15 insertions(+), 14 deletions(-)
+ builtin/commit-graph.c | 31 +++++++++++++++++--------------
+ 1 file changed, 17 insertions(+), 14 deletions(-)
diff --git a/builtin/commit-graph.c b/builtin/commit-graph.c
-index cd863152216..c3fa4fde3e4 100644
+index cd863152216..5af3cd7178f 100644
--- a/builtin/commit-graph.c
+++ b/builtin/commit-graph.c
-@@ -9,26 +9,27 @@
+@@ -9,26 +9,29 @@
#include "progress.h"
#include "tag.h"
@@ -26,9 +26,16 @@
- "[--split[=<strategy>]] [--reachable|--stdin-packs|--stdin-commits] "
- "[--changed-paths] [--[no-]max-new-filters <n>] [--[no-]progress] "
- "<split options>"),
-+static const char * builtin_commit_graph_verify_usage[] = {
+#define BUILTIN_COMMIT_GRAPH_VERIFY_USAGE \
+ N_("git commit-graph verify [--object-dir <objdir>] [--shallow] [--[no-]progress]")
++
++#define BUILTIN_COMMIT_GRAPH_WRITE_USAGE \
++ N_("git commit-graph write [--object-dir <objdir>] [--append] " \
++ "[--split[=<strategy>]] [--reachable|--stdin-packs|--stdin-commits] " \
++ "[--changed-paths] [--[no-]max-new-filters <n>] [--[no-]progress] " \
++ "<split options>")
++
++static const char * builtin_commit_graph_verify_usage[] = {
+ BUILTIN_COMMIT_GRAPH_VERIFY_USAGE,
NULL
};
@@ -36,11 +43,6 @@
-static const char * const builtin_commit_graph_verify_usage[] = {
- N_("git commit-graph verify [--object-dir <objdir>] [--shallow] [--[no-]progress]"),
+static const char * builtin_commit_graph_write_usage[] = {
-+#define BUILTIN_COMMIT_GRAPH_WRITE_USAGE \
-+ N_("git commit-graph write [--object-dir <objdir>] [--append] " \
-+ "[--split[=<strategy>]] [--reachable|--stdin-packs|--stdin-commits] " \
-+ "[--changed-paths] [--[no-]max-new-filters <n>] [--[no-]progress] " \
-+ "<split options>")
+ BUILTIN_COMMIT_GRAPH_WRITE_USAGE,
NULL
};
@@ -59,5 +61,5 @@
static struct opts_commit_graph {
--
-2.32.0.873.g94a0c75983d
+2.33.0.662.gbc81f8cbdca