Article View: linux.kernel.git
Article #1638[PATCH v3 1/2] repo: add level of concern reporting
From: "Mark C. Chu-Carroll"
Date: Tue, 27 Oct 2026 15:39
Date: Tue, 27 Oct 2026 15:39
831 lines
46043 bytes
46043 bytes
"git repo structure" computes a set of statistics
that are useful for diagnosing performance issues in
a git repository. But for a typical user who hasn't
encountered any issues yet, it can be difficult to
interpret the data - when should a value be considered
concerning?
Add an option to "git repo structure" that adds a "degree
of concern" column to the structure report, which indicates
when a stat values has reached a point where it might be
concerning, and indicate how severe the concern should be.
---
Documentation/git-repo.adoc | 16 ++-
builtin/repo.c | 329 +++++++++++++++++++++++++++++++++++++++++---
sideband.c | 2 +-
t/t1901-repo-structure.sh | 125 ++++++++---------
4 files changed, 380 insertions(+), 92 deletions(-)
diff --git a/Documentation/git-repo.adoc b/Documentation/git-repo.adoc
index ed7d80c690..f186b27d87 100644
--- a/Documentation/git-repo.adoc
+++ b/Documentation/git-repo.adoc
@@ -10,7 +10,7 @@ SYNOPSIS
[synopsis]
git repo info [--format=(lines|nul) | -z] [--all | <key>...]
git repo info --keys [--format=(lines|nul) | -z]
-git repo structure [--format=(table|lines|nul) | -z]
+git repo structure [--format=(table|lines|nul) | -z] [--[no-]concern]
DESCRIPTION
-----------
@@ -56,7 +56,7 @@ supported:
`nul`:::
Similar to `lines`, but using a _NUL_ character after each value.
-`structure [--format=(table|lines|nul) | -z]`::
+`structure [--format=(table|lines|nul) | -z] [--[no-]concern]`::
Retrieve statistics about the current repository structure. The
following kinds of information are reported:
+
@@ -88,6 +88,18 @@ supported:
quoted.
+
`-z` is an alias for `--format=nul`.
++
+To make it easier to know when one of the values is something that
+users should be concerned about, adding '--concern' will provide a
+level of concern to be added to the output. In 'table' mode, this will
+be a table column indicating the level of concern as a number of stars;
+in `lines` or `nul` mode, a `concern_level` line will be added for each
+statistic with a numeric value.
++
+The level of concern for each statistic is computed using the log_2 of the
+statistic value. The value is considered concerning if it exceeds a heuristically
+chosen threshold value; the degree of concern is the difference between the
+log_2 of the value, and the log_2 of the corresponding threshold.
INFO KEYS
---------
diff --git a/builtin/repo.c b/builtin/repo.c
index 84e012f83f..a450497d4e 100644
--- a/builtin/repo.c
+++ b/builtin/repo.c
@@ -27,7 +27,7 @@
"git repo info --keys [--format=(lines|nul) | -z]"
#define REPO_STRUCTURE_USAGE \
- "git repo structure [--format=(table|lines|nul) | -z]"
+ "git repo structure [--format=(table|lines|nul) | -z] [--[no-]concern]"
static const char *const repo_usage[] = {
REPO_INFO_USAGE,
@@ -348,8 +348,118 @@ struct stats_table {
int name_col_width;
int value_col_width;
int unit_col_width;
+ int concern_col_width;
};
+/*
+ * For computing level of concern about a stat, we need to have some
+ * baseline values. For each of these, we'define a minimum level
+ * of concern, which will appear as 1 star. Then we scale exponentially:
+ * each time that value doubles, we add another star.
+ *
+ * The threshold values for concern are expressed as log_2 values of the size
+ * at which the statistic becomes concerning. The default values for the
+ * threshold were selected based on observed values from a collection of
+ * representative-ish repositories of varying size, by finding the mean log_2
+ * value and standard deviation (sigma) for each statistic over the collection.
+ * The threshold for each metric is then set at mean(log_2) + sigma.
+ */
+struct concern_stat_threshold {
+ const char *name;
+ size_t threshold;
+};
+
+enum concern_stat {
+ CONCERN_STAT_COMMIT_COUNT,
+ CONCERN_STAT_TREE_COUNT,
+ CONCERN_STAT_BLOB_COUNT,
+ CONCERN_STAT_TAG_COUNT,
+ CONCERN_STAT_COMMIT_SIZE,
+ CONCERN_STAT_TREE_SIZE,
+ CONCERN_STAT_BLOB_SIZE,
+ CONCERN_STAT_TAG_SIZE,
+ CONCERN_STAT_COMMIT_LARGEST,
+ CONCERN_STAT_TREE_LARGEST,
+ CONCERN_STAT_BLOB_LARGEST,
+ CONCERN_STAT_TAG_LARGEST,
+ CONCERN_STAT_COMMIT_INFLATED_SIZE,
+ CONCERN_STAT_TREE_INFLATED_SIZE,
+ CONCERN_STAT_BLOB_INFLATED_SIZE,
+ CONCERN_STAT_TAG_INFLATED_SIZE,
+};
+
+struct concern_stat_threshold repo_structure_concern_thresholds[] = {
+ { .name = "commit_count", .threshold = 19 },
+ {.name = "tree_count", .threshold = 21 },
+ { .name = "blob_count", .threshold = 22 },
+ { .name = "tag_count", .threshold = 15 },
+ { .name = "commit_size", .threshold = 28 },
+ { .name = "tree_size", .threshold = 27 },
+ { .name = "blob_size", .threshold = 36 },
+ { .name = "tags_size", .threshold = 18 },
+ { .name = "commit_largest", .threshold = 18 },
+ { .name = "tree_largest", .threshold = 18 },
+ { .name = "blob_largest", .threshold = 26 },
+ { .name = "tag_largest", .threshold = 15 },
+ { .name = "commit_inflated_size", .threshold = 28 },
+ { .name = "tree_inflated_size", .threshold = 32 },
+ { .name = "blob_inflated_size", .threshold = 34 },
+ { .name = "tag_inflated_size", .threshold = 25}
+};
+
+/*
+ * Concern thresholds aren't universal. We try to set reasonable default
+ * values, but projects may want to set these thresholds differently. To
+ * support that, they can set the thresholds for their project in the
+ * project's git config, in the section "repo.structure.concern".
+ */
+static int config_concern_thresholds(const char *prefixed_var,
+ const char *str_val,
+ const struct config_context *ctx,
+ void *cb UNUSED) {
+ const char *config_prefix = "repo.structure.concern.";
+ if (!strncmp(config_prefix, prefixed_var, strlen(config_prefix))) {
+ const char *concern_name = &prefixed_var[strlen(config_prefix)];
+ for (int i = 0; concern_stat_thresholds[i].name != 0; i++) {
+ if (!strcmp(concern_stat_thresholds[i].name, concern_name)) {
+ int value = git_config_int(prefixed_var, str_val, ctx->kvi);
+ if (value < 0)
+ return -1;
+ concern_stat_thresholds[i].threshold = value;
+ return 0;
+ }
+ }
+ warning(_("Invalid concern threshold name: '%s'"), concern_name);
+ return 0;
+ }
+ return 0;
+}
+
+static size_t approx_log2(long value) {
+ int position = 0;
+ if (value <= 0) {
+ return 0;
+ }
+ while (value > 1) {
+ position++;
+ value >>= 1;
+ }
+ return position;
+}
+
+static size_t repo_structure_concern_level(enum concern_stat stat_id,
+ size_t value) {
+ size_t log_value;
+ if (stat_id >= ARRAY_SIZE(concern_stat_thresholds))
+ BUG("unexpected repository stat type");
+ log_value = approx_log2(value);
+ if (log_value > concern_stat_thresholds[stat_id].threshold)
+ return log_value -
+ concern_stat_thresholds[stat_id].threshold;
+ else
+ return 0;
+}
+
/*
* Holds column data that gets stored for each row.
*/
@@ -358,6 +468,7 @@ struct stats_table_entry {
const char *unit;
size_t index;
struct object_id *oid;
+ size_t concern;
};
static void stats_table_vaddf(struct stats_table *table,
@@ -391,6 +502,8 @@ static void stats_table_vaddf(struct stats_table *table,
if (value_width > table->value_col_width)
table->value_col_width = value_width;
}
+ if ((int)entry->concern > table->concern_col_width)
+ table->concern_col_width = entry->concern;
if (entry->unit) {
int unit_width = utf8_strwidth(entry->unit);
if (unit_width > table->unit_col_width)
@@ -410,13 +523,14 @@ static void stats_table_addf(struct stats_table *table, const char *format, ...)
}
static void stats_table_count_addf(struct stats_table *table, size_t value,
- const char *format, ...)
+ size_t concern, const char *format, ...)
{
struct stats_table_entry *entry;
va_list ap;
CALLOC_ARRAY(entry, 1);
humanise_count(value, &entry->value, &entry->unit);
+ entry->concern = concern;
va_start(ap, format);
stats_table_vaddf(table, entry, format, ap);
@@ -425,13 +539,14 @@ static void stats_table_count_addf(struct stats_table *table, size_t value,
static void stats_table_object_count_addf(struct stats_table *table,
struct object_id *oid, size_t value,
- const char *format, ...)
+ size_t concern, const char *format, ...)
{
struct stats_table_entry *entry;
va_list ap;
CALLOC_ARRAY(entry, 1);
humanise_count(value, &entry->value, &entry->unit);
+ entry->concern = concern;
/*
* A NULL OID should not have a table annotation.
@@ -445,6 +560,7 @@ static void stats_table_object_count_addf(struct stats_table *table,
}
static void stats_table_size_addf(struct stats_table *table, size_t value,
+ size_t concern,
const char *format, ...)
{
struct stats_table_entry *entry;
@@ -452,6 +568,7 @@ static void stats_table_size_addf(struct stats_table *table, size_t value,
CALLOC_ARRAY(entry, 1);
humanise_bytes(value, &entry->value, &entry->unit, HUMANISE_COMPACT);
+ entry->concern = concern;
va_start(ap, format);
stats_table_vaddf(table, entry, format, ap);
@@ -460,6 +577,7 @@ static void stats_table_size_addf(struct stats_table *table, size_t value,
static void stats_table_object_size_addf(struct stats_table *table,
struct object_id *oid, size_t value,
+ size_t concern,
const char *format, ...)
{
struct stats_table_entry *entry;
@@ -467,6 +585,7 @@ static void stats_table_object_size_addf(struct stats_table *table,
CALLOC_ARRAY(entry, 1);
humanise_bytes(value, &entry->value, &entry->unit, HUMANISE_COMPACT);
+ entry->concern = concern;
/*
* A NULL OID should not have a table annotation.
@@ -501,47 +620,92 @@ static void stats_table_setup_structure(struct stats_table *table,
ref_total = get_total_reference_count(refs);
stats_table_addf(table, "* %s", _("References"));
- stats_table_count_addf(table, ref_total, " * %s", _("Count"));
- stats_table_count_addf(table, refs->branches, " * %s", _("Branches"));
- stats_table_count_addf(table, refs->tags, " * %s", _("Tags"));
- stats_table_count_addf(table, refs->remotes, " * %s", _("Remotes"));
- stats_table_count_addf(table, refs->others, " * %s", _("Others"));
+ stats_table_count_addf(table, ref_total, 0,
+ " * %s", _("Count"));
+ stats_table_count_addf(table, refs->branches, 0,
+ " * %s", _("Branches"));
+ stats_table_count_addf(table, refs->tags,
+ repo_structure_concern_level(
+ CONCERN_STAT_TAG_COUNT,
+ refs->tags),
+ " * %s", _("Tags"));
+ stats_table_count_addf(table, refs->remotes, 0,
+ " * %s", _("Remotes"));
+ stats_table_count_addf(table, refs->others, 0,
+ " * %s", _("Others"));
object_count_total = get_total_object_values(&objects->type_counts);
stats_table_addf(table, "");
stats_table_addf(table, "* %s", _("Reachable objects"));
- stats_table_count_addf(table, object_count_total, " * %s", _("Count"));
+ stats_table_count_addf(table, object_count_total, 0,
+ " * %s", _("Count"));
stats_table_count_addf(table, objects->type_counts.commits,
+ repo_structure_concern_level(
+ CONCERN_STAT_COMMIT_COUNT,
+ objects->type_counts.commits),
" * %s", _("Commits"));
stats_table_count_addf(table, objects->type_counts.trees,
+ repo_structure_concern_level(
+ CONCERN_STAT_TREE_COUNT,
+ objects->type_counts.trees),
" * %s", _("Trees"));
stats_table_count_addf(table, objects->type_counts.blobs,
+ repo_structure_concern_level(
+ CONCERN_STAT_BLOB_COUNT,
+ objects->type_counts.blobs),
" * %s", _("Blobs"));
stats_table_count_addf(table, objects->type_counts.tags,
+ repo_structure_concern_level(
+ CONCERN_STAT_TAG_COUNT,
+ objects->type_counts.tags),
" * %s", _("Tags"));
inflated_object_total = get_total_object_values(&objects->inflated_sizes);
- stats_table_size_addf(table, inflated_object_total,
+ stats_table_size_addf(table, inflated_object_total, 0,
" * %s", _("Inflated size"));
stats_table_size_addf(table, objects->inflated_sizes.commits,
+ repo_structure_concern_level(
+ CONCERN_STAT_COMMIT_INFLATED_SIZE,
+ objects->inflated_sizes.commits),
" * %s", _("Commits"));
stats_table_size_addf(table, objects->inflated_sizes.trees,
+ repo_structure_concern_level(
+ CONCERN_STAT_TREE_INFLATED_SIZE,
+ objects->inflated_sizes.trees),
" * %s", _("Trees"));
stats_table_size_addf(table, objects->inflated_sizes.blobs,
+ repo_structure_concern_level(
+ CONCERN_STAT_BLOB_INFLATED_SIZE,
+ objects->inflated_sizes.blobs),
" * %s", _("Blobs"));
stats_table_size_addf(table, objects->inflated_sizes.tags,
+ repo_structure_concern_level(
+ CONCERN_STAT_TAG_INFLATED_SIZE,
+ objects->inflated_sizes.tags),
" * %s", _("Tags"));
disk_object_total = get_total_object_values(&objects->disk_sizes);
- stats_table_size_addf(table, disk_object_total,
+ stats_table_size_addf(table, disk_object_total, 0,
" * %s", _("Disk size"));
stats_table_size_addf(table, objects->disk_sizes.commits,
+ repo_structure_concern_level(
+ CONCERN_STAT_COMMIT_SIZE,
+ objects->disk_sizes.commits),
" * %s", _("Commits"));
stats_table_size_addf(table, objects->disk_sizes.trees,
+ repo_structure_concern_level(
+ CONCERN_STAT_TREE_SIZE,
+ objects->disk_sizes.trees),
" * %s", _("Trees"));
stats_table_size_addf(table, objects->disk_sizes.blobs,
+ repo_structure_concern_level(
+ CONCERN_STAT_BLOB_SIZE,
+ objects->disk_sizes.blobs),
" * %s", _("Blobs"));
stats_table_size_addf(table, objects->disk_sizes.tags,
+ repo_structure_concern_level(
+ CONCERN_STAT_TAG_SIZE,
+ objects->disk_sizes.tags),
" * %s", _("Tags"));
stats_table_addf(table, "");
@@ -550,51 +714,71 @@ static void stats_table_setup_structure(struct stats_table *table,
stats_table_object_size_addf(table,
&objects->largest.commit_size.oid,
objects->largest.commit_size.value,
+ repo_structure_concern_level(
+ CONCERN_STAT_COMMIT_LARGEST,
+ objects->largest.commit_size.value),
" * %s", _("Maximum size"));
stats_table_object_count_addf(table,
&objects->largest.parent_count.oid,
objects->largest.parent_count.value,
+ 0,
" * %s", _("Maximum parents"));
stats_table_addf(table, " * %s", _("Trees"));
stats_table_object_size_addf(table,
&objects->largest.tree_size.oid,
objects->largest.tree_size.value,
+ repo_structure_concern_level(
+ CONCERN_STAT_TREE_LARGEST,
+ objects->largest.tree_size.value),
" * %s", _("Maximum size"));
stats_table_object_count_addf(table,
&objects->largest.tree_entries.oid,
objects->largest.tree_entries.value,
+ 0,
" * %s", _("Maximum entries"));
stats_table_addf(table, " * %s", _("Blobs"));
stats_table_object_size_addf(table,
&objects->largest.blob_size.oid,
objects->largest.blob_size.value,
+ repo_structure_concern_level(
+ CONCERN_STAT_BLOB_LARGEST,
+ objects->largest.blob_size.value),
" * %s", _("Maximum size"));
stats_table_addf(table, " * %s", _("Tags"));
stats_table_object_size_addf(table,
&objects->largest.tag_size.oid,
objects->largest.tag_size.value,
+ repo_structure_concern_level(
+ CONCERN_STAT_TAG_LARGEST,
+ objects->largest.tag_size.value),
" * %s", _("Maximum size"));
}
#define INDEX_WIDTH 4
-static void stats_table_print_structure(const struct stats_table *table)
+static void stats_table_print_structure(const struct stats_table *table,
+ bool show_concern)
{
const char *name_col_title = _("Repository structure");
const char *value_col_title = _("Value");
+ const char *concern_col_title = _("Concern");
int title_name_width = utf8_strwidth(name_col_title);
int title_value_width = utf8_strwidth(value_col_title);
+ int title_concern_width = utf8_strwidth(concern_col_title);
int name_col_width = table->name_col_width;
int value_col_width = table->value_col_width;
int unit_col_width = table->unit_col_width;
+ int concern_col_width = table->concern_col_width;
struct string_list_item *item;
struct strbuf buf = STRBUF_INIT;
+ struct strbuf concern_str = STRBUF_INIT;
if (title_name_width > name_col_width)
name_col_width = title_name_width;
if (title_value_width > value_col_width + unit_col_width + 1)
value_col_width = title_value_width - unit_col_width;
-
+ if (show_concern && title_concern_width > concern_col_width)
+ concern_col_width = title_concern_width;
strbuf_addstr(&buf, "| ");
strbuf_utf8_align(&buf, ALIGN_LEFT, name_col_width + INDEX_WIDTH,
name_col_title);
@@ -602,6 +786,12 @@ static void stats_table_print_structure(const struct stats_table *table)
strbuf_utf8_align(&buf, ALIGN_LEFT,
value_col_width + unit_col_width + 1, value_col_title);
strbuf_addstr(&buf, " |");
+ if (show_concern) {
+ strbuf_addch(&buf, ' ');
+ strbuf_utf8_align(&buf, ALIGN_LEFT, concern_col_width,
+ concern_col_title);
+ strbuf_addstr(&buf, " |");
+ }
printf("%s\n", buf.buf);
printf("| ");
@@ -610,17 +800,28 @@ static void stats_table_print_structure(const struct stats_table *table)
printf(" | ");
for (int i = 0; i < value_col_width + unit_col_width + 1; i++)
putchar('-');
- printf(" |\n");
+ printf(" |");
+ if (show_concern) {
+ putchar(' ');
+ for (int i = 0; i < concern_col_width; i++) {
+ putchar('-');
+ }
+ printf(" |");
+ }
+ putchar('\n');
for_each_string_list_item(item, &table->rows) {
struct stats_table_entry *entry = item->util;
const char *value = "";
const char *unit = "";
+ strbuf_reset(&concern_str);
if (entry) {
value = entry->value;
if (entry->unit)
unit = entry->unit;
+ if (entry->concern > 0)
+ strbuf_addchars(&concern_str, '*', entry->concern);
}
strbuf_reset(&buf);
@@ -638,6 +839,11 @@ static void stats_table_print_structure(const struct stats_table *table)
strbuf_addch(&buf, ' ');
strbuf_utf8_align(&buf, ALIGN_LEFT, unit_col_width, unit);
strbuf_addstr(&buf, " |");
+ if (show_concern) {
+ strbuf_addch(&buf, ' ');
+ strbuf_utf8_align(&buf, ALIGN_LEFT, concern_col_width, concern_str.buf);
+ strbuf_addstr(&buf, " |");
+ }
printf("%s\n", buf.buf);
}
@@ -681,12 +887,15 @@ static void print_object_data(const char *key, char key_delim,
}
static void structure_keyvalue_print(struct repo_structure *stats,
- char key_delim, char value_delim)
+ char key_delim, char value_delim,
+ bool show_concern)
{
print_keyvalue("references.branches.count", key_delim,
stats->refs.branches, value_delim);
+
print_keyvalue("references.tags.count", key_delim,
stats->refs.tags, value_delim);
+
print_keyvalue("references.remotes.count", key_delim,
stats->refs.remotes, value_delim);
print_keyvalue("references.others.count", key_delim,
@@ -694,39 +903,120 @@ static void structure_keyvalue_print(struct repo_structure *stats,
print_keyvalue("objects.commits.count", key_delim,
stats->objects.type_counts.commits, value_delim);
+ if (show_concern)
+ print_keyvalue("objects.commits.count.concern_level", key_delim,
+ repo_structure_concern_level(CONCERN_STAT_COMMIT_COUNT,
+ stats->objects.type_counts.commits),
+ value_delim);
print_keyvalue("objects.trees.count", key_delim,
stats->objects.type_counts.trees, value_delim);
+ if (show_concern)
+ print_keyvalue("objects.trees.count.concern_level", key_delim,
+ repo_structure_concern_level(CONCERN_STAT_TREE_COUNT,
+ stats->objects.type_counts.trees),
+ value_delim);
print_keyvalue("objects.blobs.count", key_delim,
stats->objects.type_counts.blobs, value_delim);
+ if (show_concern)
+ print_keyvalue("objects.blobs.count.concern_level", key_delim,
+ repo_structure_concern_level(CONCERN_STAT_BLOB_COUNT,
+ stats->objects.type_counts.blobs),
+ value_delim);
print_keyvalue("objects.tags.count", key_delim,
stats->objects.type_counts.tags, value_delim);
+ if (show_concern)
+ print_keyvalue("objects.tags.count.concern_level", key_delim,
+ repo_structure_concern_level(CONCERN_STAT_TAG_COUNT,
+ stats->objects.type_counts.tags),
+ value_delim);
print_keyvalue("objects.commits.inflated_size", key_delim,
stats->objects.inflated_sizes.commits, value_delim);
+ if (show_concern)
+ print_keyvalue("objects.commits.inflated_size.concern_level", key_delim,
+ repo_structure_concern_level(CONCERN_STAT_COMMIT_INFLATED_SIZE,
+ stats->objects.inflated_sizes.commits),
+ value_delim);
print_keyvalue("objects.trees.inflated_size", key_delim,
stats->objects.inflated_sizes.trees, value_delim);
+ if (show_concern)
+ print_keyvalue("objects.trees.inflated_size.concern_level", key_delim,
+ repo_structure_concern_level(CONCERN_STAT_TREE_INFLATED_SIZE,
+ stats->objects.inflated_sizes.trees),
+ value_delim);
+
print_keyvalue("objects.blobs.inflated_size", key_delim,
stats->objects.inflated_sizes.blobs, value_delim);
+ if (show_concern)
+ print_keyvalue("objects.blobs.inflated_size.concern_level", key_delim,
+ repo_structure_concern_level(CONCERN_STAT_BLOB_INFLATED_SIZE,
+ stats->objects.inflated_sizes.blobs),
+ value_delim);
print_keyvalue("objects.tags.inflated_size", key_delim,
stats->objects.inflated_sizes.tags, value_delim);
+ if (show_concern)
+ print_keyvalue("objects.tags.inflated_size.concern_level", key_delim,
+ repo_structure_concern_level(CONCERN_STAT_TAG_INFLATED_SIZE,
+ stats->objects.inflated_sizes.tags),
+ value_delim);
print_keyvalue("objects.commits.disk_size", key_delim,
stats->objects.disk_sizes.commits, value_delim);
+ if (show_concern)
+ print_keyvalue("objects.commits.disk_size.concern_level", key_delim,
+ repo_structure_concern_level(CONCERN_STAT_COMMIT_SIZE,
+ stats->objects.disk_sizes.commits),
+ value_delim);
print_keyvalue("objects.trees.disk_size", key_delim,
stats->objects.disk_sizes.trees, value_delim);
+ if (show_concern)
+ print_keyvalue("objects.trees.disk_size.concern_level", key_delim,
+ repo_structure_concern_level(CONCERN_STAT_TREE_SIZE,
+ stats->objects.disk_sizes.trees),
+ value_delim);
print_keyvalue("objects.blobs.disk_size", key_delim,
stats->objects.disk_sizes.blobs, value_delim);
+ if (show_concern)
+ print_keyvalue("objects.blobs.blob_size.concern_level", key_delim,
+ repo_structure_concern_level(CONCERN_STAT_BLOB_SIZE,
+ stats->objects.disk_sizes.blobs),
+ value_delim);
print_keyvalue("objects.tags.disk_size", key_delim,
stats->objects.disk_sizes.tags, value_delim);
+ if (show_concern)
+ print_keyvalue("objects.tags.disk_size.concern_level", key_delim,
+ repo_structure_concern_level(CONCERN_STAT_TAG_SIZE,
+ stats->objects.disk_sizes.tags),
+ value_delim);
print_object_data("objects.commits.max_size", key_delim,
&stats->objects.largest.commit_size, value_delim);
+ if (show_concern)
+ print_keyvalue("objects.commits.max_size.concern_level", key_delim,
+ repo_structure_concern_level(CONCERN_STAT_COMMIT_LARGEST,
+ stats->objects.largest.commit_size.value),
+ value_delim);
print_object_data("objects.trees.max_size", key_delim,
&stats->objects.largest.tree_size, value_delim);
+ if (show_concern)
+ print_keyvalue("objects.trees.max_size.concern_level", key_delim,
+ repo_structure_concern_level(CONCERN_STAT_TREE_LARGEST,
+ stats->objects.largest.tree_size.value),
+ value_delim);
print_object_data("objects.blobs.max_size", key_delim,
&stats->objects.largest.blob_size, value_delim);
+ if (show_concern)
+ print_keyvalue("objects.blobs.max_size.concern_level", key_delim,
+ repo_structure_concern_level(CONCERN_STAT_BLOB_LARGEST,
+ stats->objects.largest.blob_size.value),
+ value_delim);
print_object_data("objects.tags.max_size", key_delim,
&stats->objects.largest.tag_size, value_delim);
+ if (show_concern)
+ print_keyvalue("objects.tags.max_size.concern_level", key_delim,
+ repo_structure_concern_level(CONCERN_STAT_TAG_LARGEST,
+ stats->objects.largest.tag_size.value),
+ value_delim);
print_object_data("objects.commits.max_parents", key_delim,
&stats->objects.largest.parent_count, value_delim);
@@ -935,6 +1225,8 @@ static int cmd_repo_structure(int argc, const char **argv, const char *prefix,
struct repo_structure stats = { 0 };
struct rev_info revs;
int show_progress = -1;
+ int show_concern = 0;
+
struct option options[] = {
OPT_CALLBACK_F(0, "format", &format, N_("format"),
N_("output format"),
@@ -944,6 +1236,7 @@ static int cmd_repo_structure(int argc, const char **argv, const char *prefix,
PARSE_OPT_NONEG | PARSE_OPT_NOARG,
parse_format_cb),
OPT_BOOL(0, "progress", &show_progress, N_("show progress")),
+ OPT_BOOL(0, "concern", &show_concern, N_("show level of concern")),
OPT_END()
};
@@ -962,13 +1255,13 @@ static int cmd_repo_structure(int argc, const char **argv, const char *prefix,
switch (format) {
case FORMAT_TABLE:
stats_table_setup_structure(&table, &stats);
- stats_table_print_structure(&table);
+ stats_table_print_structure(&table, show_concern);
break;
case FORMAT_NEWLINE_TERMINATED:
- structure_keyvalue_print(&stats, '=', '\n');
+ structure_keyvalue_print(&stats, '=', '\n', show_concern);
break;
case FORMAT_NUL_TERMINATED:
- structure_keyvalue_print(&stats, '\n', '\0');
+ structure_keyvalue_print(&stats, '\n', '\0', show_concern);
break;
default:
BUG("invalid output format");
diff --git a/sideband.c b/sideband.c
index 374187402e..0e75ab2317 100644
--- a/sideband.c
+++ b/sideband.c
@@ -1,4 +1,4 @@
-#define USE_THE_REPOSITORY_VARIABLE
+define USE_THE_REPOSITORY_VARIABLE
#define DISABLE_SIGN_COMPARE_WARNINGS
#include "git-compat-util.h"
diff --git a/t/t1901-repo-structure.sh b/t/t1901-repo-structure.sh
index 02cc2b594a..f1e3fd2a75 100755
--- a/t/t1901-repo-structure.sh
+++ b/t/t1901-repo-structure.sh
@@ -67,77 +67,7 @@ test_expect_success 'empty repository' '
EOF
git repo structure >out 2>err &&
-
- test_cmp expect out &&
- test_line_count = 0 err
- )
-'
-
-test_expect_success SHA1 'repository with references and objects' '
- test_when_finished "rm -rf repo" &&
- git init repo &&
- (
- cd repo &&
- test_commit_bulk 1005 &&
- git tag -a foo -m bar &&
-
- oid="$(git rev-parse HEAD)" &&
- git update-ref refs/remotes/origin/foo "$oid" &&
-
- # Also creates a commit, tree, and blob.
- git notes add -m foo &&
-
- # The tags disk size is handled specially due to the
- # git-rev-list(1) --disk-usage=human option printing the full
- # "byte/bytes" unit string instead of just "B".
- cat >expect <<-EOF &&
- | Repository structure | Value |
- | ------------------------- | ---------- |
- | * References | |
- | * Count | 4 |
- | * Branches | 1 |
- | * Tags | 1 |
- | * Remotes | 1 |
- | * Others | 1 |
- | | |
- | * Reachable objects | |
- | * Count | 3.02 k |
- | * Commits | 1.01 k |
- | * Trees | 1.01 k |
- | * Blobs | 1.01 k |
- | * Tags | 1 |
- | * Inflated size | 16.03 MiB |
- | * Commits | 217.92 KiB |
- | * Trees | 15.81 MiB |
- | * Blobs | 11.68 KiB |
- | * Tags | 132 B |
- | * Disk size | $(object_type_disk_usage all true) |
- | * Commits | $(object_type_disk_usage commit true) |
- | * Trees | $(object_type_disk_usage tree true) |
- | * Blobs | $(object_type_disk_usage blob true) |
- | * Tags | $(object_type_disk_usage tag) B |
- | | |
- | * Largest objects | |
- | * Commits | |
- | * Maximum size [1] | 223 B |
- | * Maximum parents [2] | 1 |
- | * Trees | |
- | * Maximum size [3] | 32.29 KiB |
- | * Maximum entries [4] | 1.01 k |
- | * Blobs | |
- | * Maximum size [5] | 13 B |
- | * Tags | |
- | * Maximum size [6] | 132 B |
-
- [1] 0dc91eb18580102a3a216c8bfecedeba2b9f9b9a
- [2] 0dc91eb18580102a3a216c8bfecedeba2b9f9b9a
- [3] 60665251ab71dbd8c18d9bf2174f4ee0d58aa06c
- [4] 60665251ab71dbd8c18d9bf2174f4ee0d58aa06c
- [5] 97d808e45116bf02103490294d3d46dad7a2ac62
- [6] 4dae4f5954f5e6feb3577cfb1b181daa3fd3afd2
- EOF
-
- git repo structure >out 2>err &&
+ cp out /tmp/test1-out &&
test_cmp expect out &&
test_line_count = 0 err
@@ -204,6 +134,59 @@ test_expect_success SHA1 'lines and nul format' '
)
'
+test_expect_success SHA1 'lines format with concerns' '
+ test_when_finished "rm -rf repo" &&
+ git init repo &&
+ (
+ cd repo &&
+ # configure thresholds to get concern indications
+ git config repo.structure.concern.commit-count 7 &&
+ git config repo.structure.concern.commit-size 14 &&
+ git config repo.structure.concern.tree-size 10 &&
+ git config repo.structure.concern.blob-size 8 &&
+ git config repo.structure.concern.blob-inflated-size 10 &&
+ git config repo.structure.concern.tag-size 2 &&
+ git config repo.structure.concern.commit-largest 4 &&
+ git config repo.structure.concern.blob-largest 2 &&
+ touch configured &&
+ test_commit_bulk 1005 &&
+ git tag -a foo -m bar &&
+ oid="$(git rev-parse HEAD)" &&
+ git update-ref refs/remotes/origin/foo "$oid" &&
+
+ # Also creates a commit, tree, and blob.
+ git notes add -m foo &&
+
+
+ # The tags disk size is handled specially due to the
+ # git-rev-list(1) --disk-usage=human option printing the full
+ # "byte/bytes" unit string instead of just "B".
+ cat >expect <<-EOF &&
+ objects.commits.count.concern_level=2
+ objects.trees.count.concern_level=0
+ objects.blobs.count.concern_level=0
+ objects.tags.count.concern_level=0
+ objects.commits.inflated_size.concern_level=0
+ objects.trees.inflated_size.concern_level=0
+ objects.blobs.inflated_size.concern_level=3
+ objects.tags.inflated_size.concern_level=0
+ objects.commits.disk_size.concern_level=3
+ objects.trees.disk_size.concern_level=8
+ objects.blobs.blob_size.concern_level=6
+ objects.tags.disk_size.concern_level=4
+ objects.commits.max_size.concern_level=3
+ objects.trees.max_size.concern_level=0
+ objects.blobs.max_size.concern_level=1
+ objects.tags.max_size.concern_level=0
+ EOF
+
+ git repo structure --concern --format=lines >actual 2>err &&
+ test_grep "concern_level" actual >actual-concerns &&
+ test_cmp expect actual-concerns &&
+ test_line_count = 0 err
+ )
+'
+
test_expect_success 'progress meter option' '
test_when_finished "rm -rf repo" &&
git init repo &&
--
2.53.0
Technical Details
Message-ID:
<20261027-b4-repo-structure-concern-v3-1-98d7a5704170@fastmail.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-73511-linux-kernel-git=dewy.ruReferences:
<20261027-b4-repo-structure-concern-v3-0-98d7a5704170@fastmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-73511-linux-kernel-git=dewy.ru
From: markchucarroll@fastmail.com ("Mark C. Chu-Carroll")
Newsgroups: linux.kernel.git
Subject: [PATCH v3 1/2] repo: add level of concern reporting
Date: Tue, 27 Oct 2026 11:39:29 -0400
Organization: Usenet Network
Message-ID: <20261027-b4-repo-structure-concern-v3-1-98d7a5704170@fastmail.com>
References: <20261027-b4-repo-structure-concern-v3-0-98d7a5704170@fastmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
logging-data="1572083"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:DYxULHWbpBmfxs1Ebi/QodliAM4= sha256:ZbzV2G8zKrJ8lIufB8drupNBOKiVOcF87uGyQ8v9qbU=
sha1:5qDOFYKY9AJ7tFB1ShH2HWNYs9M= sha256:Yiefetg3a1+vAaWKVjXBDtnqMQnwQYxL2wJjPhJ1MmE=
List-ID: <git.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id 865CE125C0B; Tue, 27 Oct 2026 18:45:49 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.148
X-Spam-Status: No, score=-3.148 tagged_above=-9999 required=6.31
tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001,
HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1,
RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=fastmail.com header.b=pIkjq6Pz; dkim=pass (2048-bit key)
header.d=messagingengine.com header.b=MsQDKGWl
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 5TNvep4g43R6;
Tue, 27 Oct 2026 18:45:44 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=git+bounces-73511-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=fastmail.com
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
by mail.dewy.ru (Postfix) with ESMTPS id A955B125C08; Tue, 27 Oct 2026 18:45:31 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sto.lore.kernel.org (Postfix) with ESMTP id 864BD60443A; Tue, 27 Oct 2026 15:40:34 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1793115587;
b=hV50XWv08kuXWXF5z22ExlXnVHRrYNf3IgsWHLUIAEQ91ClVcUBoZkB0MFxEdLu1GyO/
CHpwW5Dj8RsSPpZ7NbBUsJ6m8SNSZJbQ0B14Ub3+fYUi9TfPD4rjO2CMwaU7/kjDQWqBn
Aqw8SsqhUkZSLSbZ6VKG0R40oFPfpOOo+ZwO3gsGyWt0/bWXviNnEgMps+8LAjHQRSLmz
j9rN53liX6+ujh+HMpoUIR4SNx0yw5x+umxeY4XSBOsartvzUas0F+cHhYfXvGoQZRODr
G9pcfmJkp6OzMa4/W7A+cwjfxV9zCf7xBnBbuP8nTdFcKdJqv+UO9NeHaz5rPA4vAGw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793115587;
h=X-Original-To:Received:DMARC-Filter:Received:Received:DKIM-Signature:
DKIM-Signature:X-DKIM2-Info:DKIM2-Signature:X-DKIM2-Info:
Message-Instance:X-ME-Sender:X-ME-Received:X-ME-Proxy-Cause:
X-ME-Proxy:Feedback-ID:Received:From:Date:Subject:X-Mailing-List:
List-Id:List-Post:List-Help:List-Subscribe:List-Unsubscribe:
List-Owner:Precedence:MIME-Version:Content-Type:
Content-Transfer-Encoding:Message-Id:References:In-Reply-To:To:Cc:
X-Mailer:X-Developer-Signature:X-Developer-Key;
bh=q6pzDz++qv43yUvHMRbaE20W/2O2DHi2osYMVrJvPhE=;
b=V9AbhWsM1yrXlSMQLcNI6LzqbLnCRBRPtRby92eqIPY6XkKp6YkAquxPaZTuK2a+gZj7
BJESrYEVV8PBsGcIXRAPkWLcfXmGINO8ssMHfU8Rg879l4h/6baSZKXz4ZNQC57q60kmZ
5UkjYCerKY1Wz1KcgDtzK/JcwJtErtCz9l/SR9YlaYVPTKbd5OaFQemGgPMXBbzpthQWW
Zn8BFR+X7A5dlh+3LsdfzorcfGo2NcFYUy2TZVPq6NFPa/pbnXnjzVfhBlfKnGCi9H/VV
EPt6vJK0qihvIy8hH5hT5T4pp0HZVDhIG7mbTfec7LnmpSs0lk+vPq25IpHOGSyab2g==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=fastmail.com header.i=@fastmail.com header.a=rsa-sha256 header.s=fm2 header.b=pIkjq6Pz;
dkim=pass header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm2 header.b=MsQDKGWl;
dmarc=pass header.from=fastmail.com;
spf=pass smtp.mailfrom=fastmail.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 638C8606B551;
Tue, 27 Oct 2026 15:39:47 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key, unprotected) header.d=fastmail.com header.i=@fastmail.com header.a=rsa-sha256 header.s=fm2 header.b=pIkjq6Pz;
dkim=pass (2048-bit key, unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm2 header.b=MsQDKGWl
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=103.168.172.158
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1793115586;
b=PU1GoVokxxtHYkt/EtVX78cuzhBIJ2R29xw0vau/FkOZEBlnH4XMpmBCeS4nuck88MyN
bEvuI/zTHDA2L8jprapaOfVAYPg8d67hekBhIlbWOnIfAib9EZe60gyfiEOgbzOTr0sXJ
n79lWxaMCAKIOGrQVd4GSpa0lqzak731ge9aSkXzRZ7/6wJj6hUaJzcXFSmDcMa4lkdg4
VPr2Z2deDRVpNcWWrrGMKn9OY9bKTTYDUsBvOtG3wyktnaQktiAYPl9hpAXNnYPVQhC8e
ok8dxxDHgkeUO6keeeXrCIfwy8e2MM87Qi8nZUb/HR5O3Gnz4t0RkMgnm8MiQ+XKiXA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793115586;
h=DMARC-Filter:Received:Received:DKIM-Signature:DKIM-Signature:
X-DKIM2-Info:DKIM2-Signature:X-DKIM2-Info:Message-Instance:
X-ME-Sender:X-ME-Received:X-ME-Proxy-Cause:X-ME-Proxy:Feedback-ID:
Received:From:Date:Subject:MIME-Version:Content-Type:
Content-Transfer-Encoding:Message-Id:References:In-Reply-To:To:Cc:
X-Mailer:X-Developer-Signature:X-Developer-Key;
bh=q6pzDz++qv43yUvHMRbaE20W/2O2DHi2osYMVrJvPhE=;
b=QpMZDvQh9BgksMz3/3M0sRTfL3YRkwPB3BjdgIIfV+QFoA8hKKToyLXpAk8jhr5IJv+n
P/DedqzA4Oh82nRxuRVFS+ABf9VXar+cxhRSIAGYBduBqS6ug5/mKCn8Nq3ouuZF1CshS
v5Sld78jk+NHySAKajxJDIJ+8d6Poze5zVprPkZMaGzILvzUCnI0w9erwR9SNC0dU/qh+
8rpBIX9fDmJD/xPDiMYXr2AD8sXzhy1dzRnfMs5c43ms6gmR0SHtUvFiVPkzP9voKbhBK
9IgYPDI4lHOU1oJdzq3pzFf4xHbX45iES6r2Fw/cRNSpKpJfKBZ2034FXgozc76GLzQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=fastmail.com;
spf=pass smtp.mailfrom=fastmail.com;
dkim=pass header.d=fastmail.com header.i=@fastmail.com header.a=rsa-sha256 header.s=fm2 header.b=pIkjq6Pz;
dkim=pass header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm2 header.b=MsQDKGWl;
arc=none smtp.remote-ip=103.168.172.158
X-Received: from fhigh-a7-smtp.messagingengine.com (fhigh-a7-smtp.messagingengine.com [103.168.172.158])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature ECDSA (prime256v1))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 918F2606A335
for <git@vger.kernel.org>; Tue, 27 Oct 2026 15:39:45 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 918F2606A335
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fastmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fastmail.com
X-Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41])
by mailfhigh.phl.internal (Postfix) with ESMTP id EAA0F14000BB
for <git@vger.kernel.org>; Tue, 27 Oct 2026 11:39:44 -0400 (EDT)
X-Received: from phl-frontend-03 ([10.202.2.162])
by phl-compute-01.internal (MEProxy); Tue, 27 Oct 2026 11:39:44 -0400
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h=
cc:cc:content-transfer-encoding:content-type:content-type:date
:date:from:from:in-reply-to:in-reply-to:message-id:mime-version
:references:reply-to:subject:subject:to:to; s=fm2; t=1793115584;
x=1793201984; bh=q6pzDz++qv43yUvHMRbaE20W/2O2DHi2osYMVrJvPhE=; b=
pIkjq6Pzz1v3MPNQv34QRQ6lhw2wsh2i8fQqV2wCNamLUhsUAtPPq0lgqTosVpEj
sNIvxxYdqS6zs1yr3fSiF1k/93yhz1ViykrQf5RTal1dlXRIvocZNkcKLmREeysp
J67Ovp2DPT5ld7Y5/EzER+m0kI4DONSULQKBOh05ySYB1yjsdIcGLsfnzv4GQIhy
L/GZl+xp3hxrKVixoy/PbNGkjpe9OMgtja8q1vvNg81EJRKK/12/ZSsXsrIIRKiq
tCkk/f6KltOagS2mnwd35XHmUiZ0T6iIyJa4fZFpm3NTbAvmkP3Gb88i8exLDIhI
NH4R3f6FfQ+8ZC57cS97dw==
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
messagingengine.com; h=cc:cc:content-transfer-encoding
:content-type:content-type:date:date:feedback-id:feedback-id
:from:from:in-reply-to:in-reply-to:message-id:mime-version
:references:reply-to:subject:subject:to:to:x-me-proxy
:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1793115584; x=
1793201984; bh=q6pzDz++qv43yUvHMRbaE20W/2O2DHi2osYMVrJvPhE=; b=M
sQDKGWlNdNaVACFnC62QiBARY/ncgJCG659Emn+JMaZr31H5492EBnqadeRX8LpZ
UPg+R54Dqc2tcI3oZODia1YqxssIWo1O5wfGUmRoILy6K70xb5JctTQTJod0bCMG
WQ2FVJRBcG5VVRq4j8u730P5gZ2yrzJsXAjzAXq92O43dlY0EYt/HEXuojojeWId
EcoRskgAvdjZtAOcuZQlIqbiduEWVP47MToe5YchL+GDUn+m/BQbimJM5ERob71R
6VWJ20IWtVaoS1aXDPNI/fHjA9eOSMD2xNiaiORjYQhKyaXDTuXYHcRKcYDcwNYd
GIr1AjuFNtP2Q+HogDTIg==
X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-07;
repo=github.com/dkim2wg/interop; date=2026-10-18; sw=lmtpprox;
action=sign d=fastmail.com a=rsa-sha256;
X-DKIM2-Signature: i=1; m=1; t=1793115584; d=fastmail.com;
mf=PG1hcmtjaHVjYXJyb2xsQGZhc3RtYWlsLmNvbT4=;
rt=PGdpdEB2Z2VyLmtlcm5lbC5vcmc+;
s=fm2:rsa-sha256:OY9c/MuCrU1DhB3yHNkLsqnyNiEHCayYbZnN7Br3lCjt7bk
GkZPtZ+77CPZ96OPRRumrFm+XcqHAD1MfhYv2VtMuVgz/XxOKJRxRtjgEWOZ55cN
HtzWjeVRAjmSW1bwj1tNsw72BdarHJnpQFAryd1ycKEG4eyYlPu0OoETZ+TXw2iu
0sioZRTaO1/02j7hsg4yJg5E6DfuG3ioN/gaiMkuwHlF3YLLQeobdJIlX3LWQRtX
LsP74WMQ9w6J6OKCe/AgbAxhAvSRUQjRhw4X8QT2B/bVtJQVhIFcBrM18WmKCoBD
/BrUjAy4W4kaI1ge6irtDqb8f/zaTxoT8JMGqBg==;
X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-07;
repo=github.com/dkim2wg/interop; date=2026-10-18; sw=lmtpprox;
action=mi-m=1; hc=12;
hn=cc,content-transfer-encoding,content-type,date,feedback-id,
from,in-reply-to,message-id,mime-version,references,subject,to;
X-Message-Instance: m=1; h=sha256:7Kv0lLr9uNMlLSYh3TnKUsVTbr5xLmgBLARyhbR42k0=:kdV7LVRTqyHjsbo9BvTYNbYurY5PK6g/X14D/L4kJ0Y=;
X-ME-Sender: <xms:wMXgaoJTahn1wz9IgsfdtobVX0myzuGe_0ott6GSngYiemIQcInd7A>
<xme:wMXgauL5t-k1Gisuy0zsYOcxmuLw-GlABKMKfureg4_hbWOVYXvMG9-Re3NwTH3x4
xlJzr8jkoSWrOmEmZFe_5wOCOK8vbxzOd325CeyK2jFOszy8hegakQ>
X-ME-Received: <xmr:wMXgamVnd1p-do44AtCwsoMCig_ksOpfidddFgh9yzH9kNW2XKSdY3qBzgPUgMAWJrVHbOjz6zZGstJA8WfMDK6h>
X-ME-Proxy-Cause: dmFkZTFbrZu1YIrsQ4p0sFE8QndOYnCpZb9Tbga11NMPccvnXzkxzcia/tEz+CkG/cTnOw
0kAEyoRyO9hfiyOjga6mX84fDqkQ0DJbMNDd42Q2coCAzgMfMYeLTumWhgpjfjXGRkUH5C
MuhlkC03Tp/lyWyCE/STGkiipRrENuim738bT+yZ9rKdFRZZ/e3OlyEmx0/JkXGDF9Ipz9
c6onnPKtRSrjrf+P5OEndFgSHjsaaLVhm5ZUM8eLW7jXSBusya3HUC8aO+Bq4Mvui+cdFB
q3Bx5iErI8i8+BZ+OxeIILY0rPQ7xOf7vaDyW40Gm5kIAZYNkaoYBgmSMUYUcezILVXIBE
6wiLMgQT25M61JpoV6JhCIqrgO1EYhl2K7W4j2+xfWhiCKlubadV3q8N0x68kfS5hRCYeY
1RhyAni2mso2tIerIISxJHlpr2SqeJCPf+Dx57tGYSdD+cN4IPpZRwND+FAdTq/YJ1V2AL
5Bk8/YoeA1nd5gvPC1GwVjvSTN2kUGNGczJ1zY6Dpee81TWf9mCg4TWNmStlu+6gSiI3p3
w43AMDSLJ5RyGOkI4zUG2EJ612gv7WQdG4R+wKUneiwzZtttM712J5WYmqP4qduM03Znwh
gdkdl7rf0DU/KErE1FOS6aXyLYYC2gSj7FEir0HtqECN36kagFka53DG8cCA
X-ME-Proxy: <xmx:wMXgaggNstrnQgH9Icg5aOjiWirNVP8uEgFsYhyL5KOFZ7iEaaxBpg>
<xmx:wMXgah86q_KJSMAI2CIGgyWuN8V-U38Qhv3Thj3nwgoY6kMBqQTBXg>
<xmx:wMXgaqCESz20QhIkB8iOw7OAF2jCkBIIJOLY8_12WD99bpZprMQt_Q>
<xmx:wMXgauLqY9EsLBO5WwdZwySw9Y1YA7Y2epDdaFD5Ae1LNRNjuKEe4A>
<xmx:wMXgarhKyabgWDS6edUnDVKzrP4vTuO2i8bWNTTieEKu4Br62vdu-I1N>
X-Feedback-ID: id2564aa6:Fastmail
X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue,
27 Oct 2026 11:39:43 -0400 (EDT)
X-Mailing-List: git@vger.kernel.org
X-List-Post: <mailto:git@vger.kernel.org>
X-List-Help: <mailto:git+help@vger.kernel.org>
X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:git+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261027-b4-repo-structure-concern-v3-0-98d7a5704170@fastmail.com>
X-Cc: "Mark C. Chu-Carroll" <markchucarroll@fastmail.com>
X-Mailer: b4 0.16.0
X-Developer-Signature: v=1; a=openpgp-sha256; l=32760;
i=markchucarroll@fastmail.com; h=from:subject:message-id;
bh=kdV7LVRTqyHjsbo9BvTYNbYurY5PK6g/X14D/L4kJ0Y=;
b=owGbwMvMwCUWOPFJle/8tn2Mp9WSGLIeHN37zsDyXOWpmbLhXodEDRMjb8/as1z6sKimh4Hcy
ttfVkZXd5SyMIhxMciKKbL8/yfQ+IrlgYRf0LtPMHNYmUCGMHBxCsBErqsyMhyNOm+u31vzZcL+
wpc/30tq1cz+czThk/uOVVd09uX91CtkZJhz4JdQqe2M7wubeN6kHDz3Li963ZsnOX9EZ76aPv/
moh+sAA==
X-Developer-Key: i=markchucarroll@fastmail.com; a=openpgp;
fpr=FFFE1081EA04E0184E52EEF25191E47A4D9F86BE