Article View: linux.kernel.git
Article #39[PATCH v3 2/4] refs: support replacing reflogs in a transaction
From: Maciej Ciemborowicz
Date: Wed, 07 Oct 2026 18:05
Date: Wed, 07 Oct 2026 18:05
528 lines
26937 bytes
26937 bytes
Explicit log-only updates can already recreate a reflog during
migration. Add ref_transaction_replace_reflog() to replace existing
history with these entries without changing the reference itself. Keep
its marker flag private to the refs implementation so callers cannot
attach this cross-update behavior to an ordinary ref update
accidentally.
Stage files-backend replacements in unique temporary files beside the
logs and install them only during finish. Buffer writes and order
entries by their requested index. Aborting prepare only removes staging
files. In reftable, tombstone the previous entries in the same table as
the replacement.
Do not treat a log-only entry with a null new OID as a reference
deletion: it is part of the history being replayed. Propagate read
errors instead of silently copying a partial log.
Test preservation of null-OID entries, ordering, removal, hook rejection
and duplicate replacement. This is preparation for copying and renaming
through the ordinary transaction path.
Signed-off-by: Maciej Ciemborowicz <maciej.ciemborowicz@gmail.com>
---
refs.c | 34 ++++++-
refs.h | 9 ++
refs/files-backend.c | 180 +++++++++++++++++++++++++++++++---
refs/refs-internal.h | 3 +
refs/reftable-backend.c | 10 +-
t/helper/test-ref-store.c | 40 ++++++++
t/t1425-reflog-transaction.sh | 59 +++++++++++
7 files changed, 320 insertions(+), 15 deletions(-)
create mode 100755 t/t1425-reflog-transaction.sh
diff --git a/refs.c b/refs.c
index 00b1b51280..bf219573cd 100644
--- a/refs.c
+++ b/refs.c
@@ -1413,7 +1413,6 @@ enum ref_transaction_error ref_transaction_update(struct ref_transaction *transa
strbuf_addstr(err, _("refusing to force and skip creation of reflog"));
return REF_TRANSACTION_ERROR_GENERIC;
}
-
if (!transaction_refname_valid(refname, new_oid, flags, err))
return REF_TRANSACTION_ERROR_GENERIC;
@@ -1496,6 +1495,39 @@ int ref_transaction_update_reflog(struct ref_transaction *transaction,
return 0;
}
+int ref_transaction_replace_reflog(struct ref_transaction *transaction,
+ const char *refname,
+ struct strbuf *err)
+{
+ size_t i;
+ unsigned int flags = REF_LOG_ONLY | REF_NO_DEREF |
+ REF_SKIP_CREATE_REFLOG | REF_REPLACE_REFLOG;
+
+ assert(err);
+ if (transaction->flags &
+ (REF_TRANSACTION_FLAG_INITIAL | REF_TRANSACTION_ALLOW_FAILURE)) {
+ strbuf_addstr(err, _("reflog replacement requires an "
+ "all-or-nothing, non-initial transaction"));
+ return REF_TRANSACTION_ERROR_GENERIC;
+ }
+ if (!transaction_refname_valid(refname, NULL, flags, err))
+ return REF_TRANSACTION_ERROR_GENERIC;
+ for (i = 0; i < transaction->nr; i++) {
+ struct ref_update *update = transaction->updates[i];
+
+ if ((update->flags & REF_REPLACE_REFLOG) &&
+ !strcmp(update->refname, refname)) {
+ strbuf_addf(err, _("reflog replacement for '%s' already queued"),
+ refname);
+ return REF_TRANSACTION_ERROR_NAME_CONFLICT;
+ }
+ }
+
+ ref_transaction_add_update(transaction, refname, flags,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+ return 0;
+}
+
int ref_transaction_create(struct ref_transaction *transaction,
const char *refname,
const struct object_id *new_oid,
diff --git a/refs.h b/refs.h
index 9979446d15..7e80d0bdfb 100644
--- a/refs.h
+++ b/refs.h
@@ -939,6 +939,15 @@ int ref_transaction_update_reflog(struct ref_transaction *transaction,
uint64_t index,
struct strbuf *err);
+/*
+ * Replace a reference's reflog with the explicit entries added to the same
+ * transaction via ref_transaction_update_reflog(). Without such entries,
+ * remove the reflog. This operation does not change the reference itself.
+ */
+int ref_transaction_replace_reflog(struct ref_transaction *transaction,
+ const char *refname,
+ struct strbuf *err);
+
/*
* Add a reference creation to transaction. new_oid is the value that
* the reference should have after the update; it must not be
diff --git a/refs/files-backend.c b/refs/files-backend.c
index 71628550f2..70d1ff80c4 100644
--- a/refs/files-backend.c
+++ b/refs/files-backend.c
@@ -1983,6 +1983,22 @@ static int files_create_reflog(struct ref_store *ref_store, const char *refname,
return 0;
}
+static void format_reflog_entry(struct strbuf *sb,
+ const struct object_id *old_oid,
+ const struct object_id *new_oid,
+ const char *committer, const char *msg)
+{
+ if (!committer)
+ committer = git_committer_info(0);
+
+ strbuf_addf(sb, "%s %s %s", oid_to_hex(old_oid), oid_to_hex(new_oid), committer);
+ if (msg && *msg) {
+ strbuf_addch(sb, '\t');
+ strbuf_addstr(sb, msg);
+ }
+ strbuf_addch(sb, '\n');
+}
+
static int log_ref_write_fd(int fd, const struct object_id *old_oid,
const struct object_id *new_oid,
const char *committer, const char *msg)
@@ -1990,15 +2006,7 @@ static int log_ref_write_fd(int fd, const struct object_id *old_oid,
struct strbuf sb = STRBUF_INIT;
int ret = 0;
- if (!committer)
- committer = git_committer_info(0);
-
- strbuf_addf(&sb, "%s %s %s", oid_to_hex(old_oid), oid_to_hex(new_oid), committer);
- if (msg && *msg) {
- strbuf_addch(&sb, '\t');
- strbuf_addstr(&sb, msg);
- }
- strbuf_addch(&sb, '\n');
+ format_reflog_entry(&sb, old_oid, new_oid, committer, msg);
if (write_in_full(fd, sb.buf, sb.len) < 0)
ret = -1;
strbuf_release(&sb);
@@ -2397,6 +2405,8 @@ static int files_for_each_reflog_ent(struct ref_store *ref_store,
while (!ret && !strbuf_getwholeline(&sb, logfp, '\n'))
ret = show_one_reflog_ent(refs, refname, &sb, fn, cb_data);
+ if (ferror(logfp))
+ ret = -1;
fclose(logfp);
strbuf_release(&sb);
return ret;
@@ -2665,12 +2675,120 @@ static enum ref_transaction_error check_old_oid(struct ref_update *update,
return REF_TRANSACTION_ERROR_INCORRECT_OLD_VALUE;
}
+struct staged_reflog {
+ struct tempfile *file;
+ struct ref_update **updates;
+ size_t nr, alloc;
+};
+
struct files_transaction_backend_data {
struct ref_transaction *packed_transaction;
int packed_refs_locked;
struct strmap ref_locks;
+ struct strmap reflog_files;
};
+static int reflog_update_cmp(const void *a, const void *b)
+{
+ const struct ref_update *one = *(struct ref_update * const *)a;
+ const struct ref_update *two = *(struct ref_update * const *)b;
+
+ return (one->index > two->index) - (one->index < two->index);
+}
+
+static int prepare_reflog_replacements(struct files_ref_store *refs,
+ struct ref_transaction *transaction,
+ struct strbuf *err)
+{
+ struct files_transaction_backend_data *data = transaction->backend_data;
+ struct strbuf path = STRBUF_INIT;
+ struct strbuf contents = STRBUF_INIT;
+ struct hashmap_iter iter;
+ struct strmap_entry *entry;
+ size_t i;
+ int ret = -1;
+
+ for (i = 0; i < transaction->nr; i++) {
+ struct ref_update *update = transaction->updates[i];
+ struct staged_reflog *log;
+
+ if (!(update->flags & REF_REPLACE_REFLOG))
+ continue;
+ CALLOC_ARRAY(log, 1);
+ strmap_put(&data->reflog_files, update->refname, log);
+ }
+ for (i = 0; i < transaction->nr; i++) {
+ struct ref_update *update = transaction->updates[i];
+ struct staged_reflog *log = strmap_get(&data->reflog_files, update->refname);
+
+ if (!log || !(update->flags & REF_LOG_ONLY) ||
+ !(update->flags & REF_HAVE_NEW))
+ continue;
+ if (!(update->flags & REF_LOG_USE_PROVIDED_OIDS)) {
+ strbuf_addf(err, "replacing reflog '%s' requires explicit OIDs",
+ update->refname);
+ goto out;
+ }
+ ALLOC_GROW(log->updates, log->nr + 1, log->alloc);
+ log->updates[log->nr++] = update;
+ }
+ strmap_for_each_entry(&data->reflog_files, &iter, entry) {
+ struct staged_reflog *log = entry->value;
+ int fd;
+
+ if (!log->nr)
+ continue;
+ QSORT(log->updates, log->nr, reflog_update_cmp);
+ /* Keep the staging file beside the logs, which may be on another device. */
+ strbuf_reset(&path);
+ files_reflog_path(refs, &path, is_root_ref(entry->key) ?
+ ".tmp-reflog-XXXXXX" : "refs/.tmp-reflog-XXXXXX");
+ if (safe_create_leading_directories(refs->base.repo, path.buf))
+ goto write_error;
+ log->file = mks_tempfile_m(path.buf, 0666);
+ if (!log->file)
+ goto write_error;
+ fd = get_tempfile_fd(log->file);
+ for (i = 0; i < log->nr; i++) {
+ struct ref_update *update = log->updates[i];
+
+ format_reflog_entry(&contents, &update->old_oid, &update->new_oid,
+ update->committer_info, update->msg);
+ if (contents.len >= 65536) {
+ if (write_in_full(fd, contents.buf, contents.len) < 0)
+ goto write_error;
+ strbuf_reset(&contents);
+ }
+ }
+ if (write_in_full(fd, contents.buf, contents.len) < 0)
+ goto write_error;
+ strbuf_reset(&contents);
+ if (adjust_shared_perm(refs->base.repo, get_tempfile_path(log->file)) ||
+ close_tempfile_gently(log->file))
+ goto write_error;
+ }
+ ret = 0;
+ goto out;
+
+write_error:
+ strbuf_addf(err, "cannot write staged reflog: %s", strerror(errno));
+out:
+ strbuf_release(&path);
+ strbuf_release(&contents);
+ return ret;
+}
+
+static int install_reflog(const char *path, void *data)
+{
+ struct staged_reflog *log = data;
+ int ret = rename(get_tempfile_path(log->file), path);
+
+ /* Some systems report ENOTDIR when the destination is a directory. */
+ if (ret && errno == ENOTDIR)
+ errno = EISDIR;
+ return ret;
+}
+
/*
* Prepare for carrying out update:
* - Lock the reference referred to by update.
@@ -2929,6 +3047,17 @@ static void files_transaction_cleanup(struct files_ref_store *refs,
}
if (backend_data) {
+ struct hashmap_iter iter;
+ struct strmap_entry *entry;
+
+ strmap_for_each_entry(&backend_data->reflog_files, &iter, entry) {
+ struct staged_reflog *log = entry->value;
+
+ delete_tempfile(&log->file);
+ free(log->updates);
+ free(log);
+ }
+ strmap_clear(&backend_data->reflog_files, 0);
if (backend_data->packed_transaction &&
ref_transaction_abort(backend_data->packed_transaction, &err)) {
error("error aborting transaction: %s", err.buf);
@@ -2970,6 +3099,7 @@ static int files_transaction_prepare(struct ref_store *ref_store,
CALLOC_ARRAY(backend_data, 1);
strmap_init(&backend_data->ref_locks);
+ strmap_init(&backend_data->reflog_files);
transaction->backend_data = backend_data;
/*
@@ -3120,6 +3250,8 @@ static int files_transaction_prepare(struct ref_store *ref_store,
}
}
+ ret = prepare_reflog_replacements(refs, transaction, err);
+
cleanup:
free(head_ref);
string_list_clear(&refnames_to_check, 1);
@@ -3344,6 +3476,31 @@ static int files_transaction_finish(struct ref_store *ref_store,
backend_data = transaction->backend_data;
packed_transaction = backend_data->packed_transaction;
+ for (i = 0; i < transaction->nr; i++) {
+ struct ref_update *update = transaction->updates[i];
+ struct staged_reflog *log;
+
+ if (!(update->flags & REF_REPLACE_REFLOG))
+ continue;
+ log = strmap_get(&backend_data->reflog_files, update->refname);
+ strbuf_reset(&sb);
+ files_reflog_path(refs, &sb, update->refname);
+ if (!log->file) {
+ if (unlink(sb.buf) && errno != ENOENT && errno != EISDIR)
+ ret = -1;
+ } else if (raceproof_create_file(refs, sb.buf, install_reflog, log)) {
+ ret = -1;
+ } else {
+ delete_tempfile(&log->file);
+ }
+ if (ret) {
+ strbuf_addf(err, "cannot replace reflog '%s': %s",
+ update->refname, strerror(errno));
+ }
+ if (ret)
+ goto cleanup;
+ }
+
/* Perform updates first so live commits remain referenced */
for (i = 0; i < transaction->nr; i++) {
struct ref_update *update = transaction->updates[i];
@@ -3352,8 +3509,9 @@ static int files_transaction_finish(struct ref_store *ref_store,
if (update->rejection_err)
continue;
- if (update->flags & REF_NEEDS_COMMIT ||
- update->flags & REF_LOG_ONLY) {
+ if ((update->flags & REF_NEEDS_COMMIT ||
+ update->flags & REF_LOG_ONLY) &&
+ !strmap_contains(&backend_data->reflog_files, update->refname)) {
if (parse_and_write_reflog(refs, update, lock, err)) {
ret = REF_TRANSACTION_ERROR_GENERIC;
goto cleanup;
diff --git a/refs/refs-internal.h b/refs/refs-internal.h
index 0b41f5fa4b..19fdf39d1d 100644
--- a/refs/refs-internal.h
+++ b/refs/refs-internal.h
@@ -49,6 +49,9 @@ struct ref_transaction;
*/
#define REF_HAVE_PEELED (1 << 15)
+/* Replace a reflog with the explicit log-only updates in the transaction. */
+#define REF_REPLACE_REFLOG (1 << 16)
+
/*
* Return the length of time to retry acquiring a loose reference lock
* before giving up, in milliseconds:
diff --git a/refs/reftable-backend.c b/refs/reftable-backend.c
index 10db03991e..203b111f3d 100644
--- a/refs/reftable-backend.c
+++ b/refs/reftable-backend.c
@@ -1503,9 +1503,11 @@ static int write_transaction_table(struct reftable_writer *writer, void *cb_data
* - `core.logAllRefUpdates` tells us to create the reflog for
* the given ref.
*/
- if ((u->flags & REF_HAVE_NEW) &&
+ if ((u->flags & REF_REPLACE_REFLOG) ||
+ ((u->flags & REF_HAVE_NEW) &&
+ !(u->flags & REF_LOG_ONLY) &&
!(u->type & REF_ISSYMREF) &&
- ref_update_has_null_new_value(u)) {
+ ref_update_has_null_new_value(u))) {
struct reftable_log_record log = {0};
struct reftable_iterator it = {0};
@@ -1548,8 +1550,10 @@ static int write_transaction_table(struct reftable_writer *writer, void *cb_data
if (ret)
goto done;
- } else if (!(u->flags & REF_SKIP_CREATE_REFLOG) &&
+ }
+ if (!(u->flags & REF_SKIP_CREATE_REFLOG) &&
(u->flags & REF_HAVE_NEW) &&
+ (!ref_update_has_null_new_value(u) || (u->flags & REF_LOG_ONLY)) &&
(u->flags & REF_FORCE_CREATE_REFLOG ||
should_write_log(arg->refs, u->refname))) {
struct reftable_log_record *log;
diff --git a/t/helper/test-ref-store.c b/t/helper/test-ref-store.c
index db58f00589..7ce10c28af 100644
--- a/t/helper/test-ref-store.c
+++ b/t/helper/test-ref-store.c
@@ -146,6 +146,45 @@ static int cmd_rename_ref(struct ref_store *refs, const char **argv)
return refs_rename_ref(refs, oldref, newref, logmsg);
}
+static int cmd_reflog_transaction(struct ref_store *refs, const char **argv)
+{
+ const char *refname = notnull(*argv++, "refname");
+ const char *mode = notnull(*argv++, "mode");
+ struct strbuf err = STRBUF_INIT;
+ struct ref_transaction *transaction = ref_store_transaction_begin(refs, 0, &err);
+ int ret = !transaction;
+
+ if (!ret) {
+ if (!strcmp(mode, "replace")) {
+ ret = ref_transaction_replace_reflog(transaction, refname, &err);
+ } else if (!strcmp(mode, "replace-twice")) {
+ ret = ref_transaction_replace_reflog(transaction, refname, &err) ||
+ ref_transaction_replace_reflog(transaction, refname, &err);
+ } else if (strcmp(mode, "append")) {
+ die("unknown reflog transaction mode: %s", mode);
+ }
+ }
+ while (!ret && *argv) {
+ uint64_t index = strtoumax(notnull(*argv++, "index"), NULL, 10);
+ struct object_id old_oid, new_oid;
+ const char *message;
+
+ if (get_oid_hex(notnull(*argv++, "old-oid"), &old_oid) ||
+ get_oid_hex(notnull(*argv++, "new-oid"), &new_oid))
+ die("invalid object ID");
+ message = notnull(*argv++, "message");
+ ret = ref_transaction_update_reflog(transaction, refname,
+ &new_oid, &old_oid, NULL, message, index, &err);
+ }
+ if (!ret)
+ ret = ref_transaction_commit(transaction, &err);
+ if (ret)
+ error("%s", err.buf);
+ ref_transaction_free(transaction);
+ strbuf_release(&err);
+ return ret;
+}
+
static int each_ref(const struct reference *ref, void *cb_data UNUSED)
{
printf("%s %s 0x%x\n", oid_to_hex(ref->oid), ref->name, ref->flags);
@@ -308,6 +347,7 @@ static struct command commands[] = {
{ "create-symref", cmd_create_symref },
{ "delete-refs", cmd_delete_refs },
{ "rename-ref", cmd_rename_ref },
+ { "reflog-transaction", cmd_reflog_transaction },
{ "for-each-ref", cmd_for_each_ref },
{ "for-each-ref--exclude", cmd_for_each_ref__exclude },
{ "resolve-ref", cmd_resolve_ref },
diff --git a/t/t1425-reflog-transaction.sh b/t/t1425-reflog-transaction.sh
new file mode 100755
index 0000000000..ee5278045e
--- /dev/null
+++ b/t/t1425-reflog-transaction.sh
@@ -0,0 +1,59 @@
+#!/bin/sh
+
+test_description='explicit reflog entries in reference transactions'
+
+. ./test-lib.sh
+
+test_expect_success 'setup' '
+ test_commit A &&
+ test_commit B &&
+ A=$(git rev-parse A) &&
+ B=$(git rev-parse B)
+'
+
+test_expect_success 'log-only entry with null new OID does not delete existing history' '
+ git branch source "$A" &&
+ test-tool ref-store main for-each-reflog-ent refs/heads/source >before &&
+ test-tool ref-store main reflog-transaction refs/heads/source append \
+ 1 "$A" "$ZERO_OID" deletion &&
+ test-tool ref-store main for-each-reflog-ent refs/heads/source >after &&
+ sed "$ d" after >history &&
+ test_cmp before history &&
+ test_grep "$A $ZERO_OID .*deletion" after &&
+ test_cmp_rev "$A" source
+'
+
+test_expect_success 'replace reflog with entries ordered by index' '
+ test-tool ref-store main reflog-transaction refs/heads/source replace \
+ 2 "$A" "$B" second \
+ 1 "$ZERO_OID" "$A" first &&
+ git reflog show --format=%gs source >actual &&
+ printf "%s\n" second first >expect &&
+ test_cmp expect actual &&
+ test_cmp_rev "$A" source
+'
+
+test_expect_success 'prepared hook can reject replacement without losing history' '
+ test_when_finished "rm -f .git/hooks/reference-transaction" &&
+ test-tool ref-store main for-each-reflog-ent refs/heads/source >before &&
+ write_script .git/hooks/reference-transaction <<-\EOF &&
+ test "$1" != prepared
+ EOF
+ test_must_fail test-tool ref-store main reflog-transaction refs/heads/source replace \
+ 1 "$ZERO_OID" "$B" replacement &&
+ test-tool ref-store main for-each-reflog-ent refs/heads/source >after &&
+ test_cmp before after
+'
+
+test_expect_success 'replacement with no entries removes only the reflog' '
+ test-tool ref-store main reflog-transaction refs/heads/source replace &&
+ test_must_fail git reflog exists refs/heads/source &&
+ test_cmp_rev "$A" source
+'
+
+test_expect_success 'duplicate replacement is rejected' '
+ test_must_fail test-tool ref-store main reflog-transaction \
+ refs/heads/source replace-twice
+'
+
+test_done
--
2.39.3 (Apple Git-146)
Technical Details
Message-ID:
<5c3ec4eb493e300b74418ef0f3e35c7820abf399.1791395643.git.maciej.ciemborowicz@gmail.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-71391-linux-kernel-git=dewy.ruReferences:
<20260920165037.88524-1-maciej.ciemborowicz@gmail.com> <cover.1791395643.git.maciej.ciemborowicz@gmail.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-71391-linux-kernel-git=dewy.ru
From: maciej.ciemborowicz@gmail.com (Maciej Ciemborowicz)
Newsgroups: linux.kernel.git
Subject: [PATCH v3 2/4] refs: support replacing reflogs in a transaction
Date: Wed, 07 Oct 2026 20:05:15 +0200
Organization: Usenet Network
Message-ID: <5c3ec4eb493e300b74418ef0f3e35c7820abf399.1791395643.git.maciej.ciemborowicz@gmail.com>
References: <20260920165037.88524-1-maciej.ciemborowicz@gmail.com>
<cover.1791395643.git.maciej.ciemborowicz@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="704445"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:qp/sFUv24mzosdfK26ZluHOGqnc= sha256:b3Z8d2eTgR6M1invWExxpurUOs3WJqloSVZEPO6GXik=
sha1:ueBl84jPulnOhZ5sHmBDyUqO04s= sha256:R9T/6FPBpW6yGkGe8MA8rDL8j539t3hwE5GMDy0rjjE=
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 02C5B10F1DB; Wed, 7 Oct 2026 21:05:36 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -0.749
X-Spam-Status: No, score=-0.749 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, 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.249,
MAILING_LIST_MULTI=-1, 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=gmail.com
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 4kSboi_jX2vb;
Wed, 7 Oct 2026 21:05:31 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=git+bounces-71391-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
by mail.dewy.ru (Postfix) with ESMTPS id A7C6D10F1D6; Wed, 7 Oct 2026 21:05:27 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
by tor.lore.kernel.org (Postfix) with ESMTP id E34482795D; Wed, 7 Oct 2026 18:05:24 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 8DD9B4DA9C5;
Wed, 7 Oct 2026 18:05:23 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="X5HWpDcc"
X-Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7F1F84DA9AD
for <git@vger.kernel.org>; Wed, 7 Oct 2026 18:05:20 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.47
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1791396322; cv=none; b=YVWriF8aCZBaewRMZe/d+WrVAPuHMDcxkpE7gHKAQYzK2uxd/i4VsKeQZfMAN5gf45Sa2hxuLSLMoCvTR7MMR+6jBUx0jQ3EV2+XXAsNF1pJMoC5yi7wI2gBtILP/QfGHjdj3tBisWdbp3A+2ilZZgBp9Q4kpdCzEJZQtojgxxk=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1791396322; c=relaxed/simple;
bh=8ZLazNSNKvdrUr2+S2MtvNd1cvlXl/r1rPFVmmSdzNk=;
h=Message-Id:In-Reply-To:References:From:Date:Subject:To:Cc:
MIME-Version:Content-Type; b=tmfsfEeSq8H8QSzDQ6WtOI+DASO96iH7z8uCicAYu2rHElBtlvLz0idlA75cO4NwVr32U9wIJ2GPBgrnvsPK9VBdF43xsyjvosKJHVXDleYCOrzEhmAh/L0gJl3RjJ6wqBtn6ECFVYRIx3gvh5Kgp5wOra2ER61Ic2BYIz/Ptf0=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=X5HWpDcc; arc=none smtp.client-ip=209.85.208.47
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-6afa6bf3b45so3307847a12.3
for <git@vger.kernel.org>; Wed, 07 Oct 2026 11:05:20 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1791396319; x=1792001119; darn=vger.kernel.org;
h=content-transfer-encoding:content-type:mime-version:cc:to:subject
:date:from:references:in-reply-to:message-id:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=zsTuK4YNl7KWfBYN91fW4LbLNZmThWx/zKDLjrZwL6w=;
b=X5HWpDccXNZQO6swIzgczVBWyVERkg4FVAhGhwjT//NJQ6VcpoRy76laTZASci4hUD
3EE9GpK/ql/SEddznSOSN+50JHLFhlYFLTJCXuse+b0vHlJ8UICU68TpEkRjMAs4/4g/
Kc3u2V+Ee1KCh+r6PHBrs1XIwwg0WF+HqzMHLSQ1v+6nMqlY4seyOchGCidLciZqUu/Q
qz5Skb59YE9aNwllkLj3N2LIus+HvecaIvW03mds2G2R1M1CJmPW6HUwKcTNjnKO/x4T
qBR6KJmofeFWY6HPTUirv3QbyUoDAkUQIOWH8JoRTJSamtoOn4aEPAtkp6Y16tSSYb5A
+FNA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1791396319; x=1792001119;
h=content-transfer-encoding:content-type:mime-version:cc:to:subject
:date:from:references:in-reply-to:message-id:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=zsTuK4YNl7KWfBYN91fW4LbLNZmThWx/zKDLjrZwL6w=;
b=UBNoR4rwAk9cffZekL51cItznaSKxf5KGq+926KVyYW6LXLMOknNZXBvQOzjtf40Me
7vZIbBcPp/ou3v1vqZrcGJji2dhLGrQONdEOxv+hllhuC1nilX7SbZ9Evu85i5Fmhyf0
oh679cYAIqPWWz2cvfz6sUDns8lvf20ujX2Sr2VQcnY8q4S8m2Kf2745OYDJWxGeDvy6
58J3dAKuS5CkdcZXdDkjIxpAEJICjsNrdWjGZYOn5MiiIvLao1pcTGy7xn1dfcWZlrDZ
o0BBDAM03H9alemELFmHQpyVtVEtIE2/0JlPkvQVNo6RFsHES2zw7DC4UQV+EpJsSEQn
lcNw==
X-Gm-Message-State: AFuF++nubaKRP2Kdh/bVaKNHviB1wyKn6BGpxVXqHDh6Yu+Se2QUrNs/
gvTmGirBJHn8Aun9Lpm+lD+DGvcsNfbo+BAfDJDjCPZ5Ojujl9Yz6t47HyTRbg==
X-Gm-Gg: AYBFou1EDvcWXxVE6yQ9oAso10aNatHpjaXwUSwK3lMBIOkvZtfy8EpTnm41ah50KGd
1453JMDRUwQgauiMWYeIRlTFyiBhjVuH7Qq+94n5/OpV5VK4saxhArNufEja+/umvZARdpBW/O6
e41mFTqqPVZ7zf7oqRDw64W128327IuvS/TYAvH3sXW2MTLpj+1/+oKU5LhJVOGyv/yYx0McK8k
aGPmK/Umkkl/VO5t4iRYO+Xr9Xj+ZRc8CbmuL+QnCPqRIltPV+QhapGRfLFlsz9NZjhCZ6X9SWu
NPeZxBADhA6eRQbSBVVk3ZIxhfr3P1lIha+u8xoEtCIoUeqR1JoMLc0RgezUCQWhKBHPrbSQK/l
Rq2x6H5588YBvHN52XICx+9yfIcD3iQI3RXFaLPjRL9JyV+8NNJnt8omALdvxQiKxlHqvMtKHC/
j/ZUfhXUrttN1CVmrpELZs/Cl8IQ+mPVTehwyzrkv1ROLPCcnK0kD3YDKOGqFNLm9BHzRC1emq9
0hvrlJqKXrxAh0FGyhkb4wzLPQYQZAuTBkHjYRUCund42g7ykhPH8Z0dTOkuG2f/0F9iyV9lm0L
8FgRMVRApw5r3ZNm2oNRAZRgXgUml1OVffL2Ug0AuLG47LAHKcWMzdTcTaH2uJ0dG9tBOPC3QVb
KT6w+Cyj0mtZUKPbN7c2GVNo1kL8N2vpe9e00z9qZ
X-Received: by 2002:a17:907:3f0f:b0:c2e:2b9b:f16a with SMTP id a640c23a62f3a-c317c177b4amr317569366b.39.1791396318351;
Wed, 07 Oct 2026 11:05:18 -0700 (PDT)
X-Received: from 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa ([37.31.50.62])
by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c317c2f19bdsm129986066b.47.2026.10.07.11.05.16
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 07 Oct 2026 11:05:17 -0700 (PDT)
X-In-Reply-To: <cover.1791395643.git.maciej.ciemborowicz@gmail.com>
X-Cc: Patrick Steinhardt <ps@pks.im>,
Junio C Hamano <gitster@pobox.com>,
Karthik Nayak <karthik.188@gmail.com>
X-Precedence: bulk
X-Mailing-List: git@vger.kernel.org
X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org>