🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.git
Article #4334

[PATCH v4 4/5] wrapper: add read_in_full_or_error()

#4334
From: "Johannes Schindelin via GitGitG...
Date: Fri, 04 Dec 2026 14:35
342 lines
21902 bytes
From: Johannes Schindelin <johannes.schindelin@gmx.de>

Callers of the `read_in_full()` function want to read all requested
bytes, or get an error. However, limiting the return value type to
`ssize_t` is insufficient, as file sizes can easily exceed that type's
range.

For those callers that do not require the return value to report the
number of read bytes, add a new function, `read_in_full_or_error()`,
that returns a Boolean to indicate success or failure.

Callers that do need to know that byte count can still call
`read_in_full()`, but will now abort to signal a programming error when
the requested byte count exceeds what `ssize_t` can represent.

Note that one of the callers that _did_ look at the byte count is
`should_prune_worktree()`, but since all it did was to write an error
message about a short read, I also converted it to call
`read_in_full_or_error()`. The result is a bit simpler.

Pointed out by Coverity.

Helped-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Helped-by: Junio C Hamano <gitster@pobox.com>
Assisted-by: GPT-6.1 and GPT-6 Luna
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
 builtin/blame.c          |  2 +-
 combine-diff.c           |  6 +----
 dir.c                    |  2 +-
 grep.c                   |  2 +-
 refs/packed-backend.c    |  4 +--
 strbuf.c                 | 10 ++++---
 t/unit-tests/u-wrapper.c | 57 ++++++++++++++++++++++++++++++++++++++++
 worktree.c               | 10 ++-----
 wrapper.c                | 49 +++++++++++++++++++++++++++-------
 wrapper.h                |  7 +++++
 10 files changed, 117 insertions(+), 32 deletions(-)

diff --git a/builtin/blame.c b/builtin/blame.c
index 1e753a0b60..ddc49d8d30 100644
--- a/builtin/blame.c
+++ b/builtin/blame.c
@@ -1006,7 +1006,7 @@ static void parse_default_ignore_revs_file(struct blame_scoreboard *sb,
 	}
 	size = xsize_t(st.st_size);
 	buf = xmalloc(size);
-	if (read_in_full(fd, buf, size) == (ssize_t)size)
+	if (!read_in_full_or_error(fd, buf, size))
 		oidset_parse_buffer_carefully(&sb->ignore_list, buf, size,
 					      sb->repo->hash_algo,
 					      peel_to_commit_oid, sb);
diff --git a/combine-diff.c b/combine-diff.c
index 717d537688..49202c6581 100644
--- a/combine-diff.c
+++ b/combine-diff.c
@@ -1073,7 +1073,6 @@ static void show_patch_diff(struct combine_diff_path *elem, int num_parent,
 			free_filespec(df);
 		} else if (0 <= (fd = open(elem->path, O_RDONLY))) {
 			size_t len = xsize_t(st.st_size);
-			ssize_t done;
 			int is_file, i;
 
 			elem->mode = canon_mode(st.st_mode);
@@ -1089,11 +1088,8 @@ static void show_patch_diff(struct combine_diff_path *elem, int num_parent,
 			result_size = len;
 			result = xmallocz(len);
 
-			done = read_in_full(fd, result, len);
-			if (done < 0)
+			if (read_in_full_or_error(fd, result, len) < 0)
 				die_errno("read error '%s'", elem->path);
-			else if (done < len)
-				die("early EOF '%s'", elem->path);
 
 			/* If not a fake symlink, apply filters, e.g. autocrlf */
 			if (is_file) {
diff --git a/dir.c b/dir.c
index ac246ced1d..1c9599c2bb 100644
--- a/dir.c
+++ b/dir.c
@@ -1190,7 +1190,7 @@ static int add_patterns(const char *fname, const char *base, int baselen,
 			return 0;
 		}
 		buf = xmallocz(size);
-		if (read_in_full(fd, buf, size) != size) {
+		if (read_in_full_or_error(fd, buf, size) < 0) {
 			free(buf);
 			close(fd);
 			return -1;
diff --git a/grep.c b/grep.c
index 1d75d31421..c1c33fc140 100644
--- a/grep.c
+++ b/grep.c
@@ -1964,7 +1964,7 @@ static int grep_source_load_file(struct grep_source *gs)
 	if (i < 0)
 		goto err_ret;
 	data = xmallocz(size);
-	if (st.st_size != read_in_full(i, data, size)) {
+	if (read_in_full_or_error(i, data, size) < 0) {
 		error_errno(_("'%s': short read"), filename);
 		close(i);
 		free(data);
diff --git a/refs/packed-backend.c b/refs/packed-backend.c
index 53511f2d91..ff7ef84109 100644
--- a/refs/packed-backend.c
+++ b/refs/packed-backend.c
@@ -543,7 +543,6 @@ static int refname_contains_nul(struct strbuf *refname)
 
 static int allocate_snapshot_buffer(struct snapshot *snapshot, int fd, struct stat *st)
 {
-	ssize_t bytes_read;
 	size_t size;
 
 	size = xsize_t(st->st_size);
@@ -552,8 +551,7 @@ static int allocate_snapshot_buffer(struct snapshot *snapshot, int fd, struct st
 
 	if (mmap_strategy == MMAP_NONE || size <= SMALL_FILE_SIZE) {
 		snapshot->buf = xmalloc(size);
-		bytes_read = read_in_full(fd, snapshot->buf, size);
-		if (bytes_read < 0 || bytes_read != size)
+		if (read_in_full_or_error(fd, snapshot->buf, size) < 0)
 			die_errno("couldn't read %s", snapshot->refs->path);
 		snapshot->mmapped = 0;
 	} else {
diff --git a/strbuf.c b/strbuf.c
index c3baa47b3f..55825d20e8 100644
--- a/strbuf.c
+++ b/strbuf.c
@@ -537,8 +537,12 @@ ssize_t strbuf_read(struct strbuf *sb, int fd, size_t hint)
 
 	strbuf_grow(sb, hint ? hint : 8192);
 	for (;;) {
-		ssize_t want = sb->alloc - sb->len - 1;
-		ssize_t got = read_in_full(fd, sb->buf + sb->len, want);
+		size_t want = sb->alloc - sb->len - 1;
+		ssize_t got;
+
+		if ((uintmax_t)want > maximum_signed_value_of_type(ssize_t))
+			want = maximum_signed_value_of_type(ssize_t);
+		got = read_in_full(fd, sb->buf + sb->len, want);
 
 		if (got < 0) {
 			if (oldalloc == 0)
@@ -548,7 +552,7 @@ ssize_t strbuf_read(struct strbuf *sb, int fd, size_t hint)
 			return -1;
 		}
 		sb->len += got;
-		if (got < want)
+		if ((size_t)got < want)
 			break;
 		strbuf_grow(sb, 8192);
 	}
diff --git a/t/unit-tests/u-wrapper.c b/t/unit-tests/u-wrapper.c
index 713ac0df92..28adfbdf8e 100644
--- a/t/unit-tests/u-wrapper.c
+++ b/t/unit-tests/u-wrapper.c
@@ -40,3 +40,60 @@ void test_wrapper__write_in_full_error(void)
 	cl_assert_equal_i(write_in_full(-1, data, 1), -1);
 	cl_assert_equal_i(errno, EBADF);
 }
+
+void test_wrapper__read_in_full_or_error(void)
+{
+	int fd = get_tempfile_fd(file);
+
+	cl_assert_equal_i(write_in_full(fd, data, sizeof(data)), 0);
+	cl_assert(lseek(fd, 0, SEEK_SET) == 0);
+	cl_assert_equal_i(read_in_full_or_error(fd, actual, sizeof(actual)), 0);
+	cl_assert(!memcmp(data, actual, sizeof(data)));
+}
+
+void test_wrapper__read_in_full_or_error_empty(void)
+{
+	cl_assert_equal_i(read_in_full_or_error(-1, NULL, 0), 0);
+}
+
+void test_wrapper__read_in_full_or_error_short(void)
+{
+	int fd = get_tempfile_fd(file);
+
+	cl_assert_equal_i(write_in_full(fd, "abc", 3), 0);
+	cl_assert(lseek(fd, 0, SEEK_SET) == 0);
+	errno = 0;
+	cl_assert_equal_i(read_in_full_or_error(fd, actual, sizeof(actual)),
+			  -1);
+	cl_assert_equal_i(errno, EIO);
+	cl_assert(!memcmp(actual, "abc", 3));
+}
+
+void test_wrapper__read_in_full_or_error_bad_fd(void)
+{
+	errno = 0;
+	cl_assert_equal_i(read_in_full_or_error(-1, actual, 1), -1);
+	cl_assert_equal_i(errno, EBADF);
+}
+
+void test_wrapper__read_in_full_short(void)
+{
+	int fd = get_tempfile_fd(file);
+
+	cl_assert_equal_i(write_in_full(fd, "abc", 3), 0);
+	cl_assert(lseek(fd, 0, SEEK_SET) == 0);
+	cl_assert_equal_i(read_in_full(fd, actual, sizeof(actual)), 3);
+	cl_assert(!memcmp(actual, "abc", 3));
+}
+
+void test_wrapper__read_in_full_empty(void)
+{
+	cl_assert_equal_i(read_in_full(-1, NULL, 0), 0);
+}
+
+void test_wrapper__read_in_full_error(void)
+{
+	errno = 0;
+	cl_assert_equal_i(read_in_full(-1, actual, 1), -1);
+	cl_assert_equal_i(errno, EBADF);
+}
diff --git a/worktree.c b/worktree.c
index 8cb8637b18..62b866c1a1 100644
--- a/worktree.c
+++ b/worktree.c
@@ -949,7 +949,7 @@ int should_prune_worktree(struct repository *repo,
 	int rc = 0;
 	int fd;
 	size_t len;
-	ssize_t read_result;
+	int read_result;
 
 	*wtpath = NULL;
 
@@ -982,19 +982,13 @@ int should_prune_worktree(struct repository *repo,
 	len = xsize_t(st.st_size);
 	path = xmallocz(len);
 
-	read_result = read_in_full(fd, path, len);
+	read_result = read_in_full_or_error(fd, path, len);
 	close(fd);
 	if (read_result < 0) {
 		strbuf_addf(reason, _("unable to read gitdir file (%s)"),
 			    strerror(errno));
 		rc = 1;
 		goto done;
-	} else if (read_result != len) {
-		strbuf_addf(reason,
-			    _("short read (expected %"PRIuMAX" bytes, read %"PRIuMAX")"),
-			    (uintmax_t)len, (uintmax_t)read_result);
-		rc = 1;
-		goto done;
 	}
 	while (len && (path[len - 1] == '\n' || path[len - 1] == '\r'))
 		len--;
diff --git a/wrapper.c b/wrapper.c
index 87e1b4bfd2..5ed58f7df8 100644
--- a/wrapper.c
+++ b/wrapper.c
@@ -283,23 +283,52 @@ ssize_t xpread(int fd, void *buf, size_t len, off_t offset)
 	}
 }
 
-ssize_t read_in_full(int fd, void *buf, size_t count)
+/*
+ * Read until count bytes have been read or EOF. On success, store the number
+ * read in out if non-NULL. Return false on an I/O error, with errno set.
+ */
+static bool read_in_full_1(int fd, void *buf, size_t count, size_t *out)
 {
 	char *p = buf;
-	ssize_t total = 0;
+	size_t remaining = count;
 
-	while (count > 0) {
-		ssize_t loaded = xread(fd, p, count);
+	while (remaining) {
+		ssize_t loaded = xread(fd, p, remaining);
 		if (loaded < 0)
-			return -1;
-		if (loaded == 0)
-			return total;
-		count -= loaded;
+			return false;
+		if (!loaded)
+			break;
+		remaining -= loaded;
 		p += loaded;
-		total += loaded;
 	}
 
-	return total;
+	*out = count - remaining;
+	return true;
+}
+
+int read_in_full_or_error(int fd, void *buf, size_t count)
+{
+	size_t total;
+
+	if (!read_in_full_1(fd, buf, count, &total))
+		return -1;
+	if (total != count) {
+		errno = EIO;
+		return -1;
+	}
+	return 0;
+}
+
+ssize_t read_in_full(int fd, void *buf, size_t count)
+{
+	size_t total;
+
+	if ((uintmax_t)count > maximum_signed_value_of_type(ssize_t))
+		BUG("read_in_full() cannot return %"PRIuMAX" bytes",
+		    (uintmax_t)count);
+	if (!read_in_full_1(fd, buf, count, &total))
+		return -1;
+	return (ssize_t)total;
 }
 
 int write_in_full(int fd, const void *buf, size_t count)
diff --git a/wrapper.h b/wrapper.h
index 726c5c2f6b..47d441e6c9 100644
--- a/wrapper.h
+++ b/wrapper.h
@@ -44,8 +44,15 @@ char *git_mkdtemp(char *pattern);
 int git_mkstemps_mode(char *pattern, int suffix_len, int mode);
 int git_mkstemp_mode(char *pattern, int mode);
 
+/*
+ * Return the number of bytes read, possibly short at EOF, or -1 on error.
+ * The requested count must be representable in ssize_t.
+ */
 ssize_t read_in_full(int fd, void *buf, size_t count);
 
+/* Return 0 on a complete read, or -1 with errno set (EIO on premature EOF). */
+int read_in_full_or_error(int fd, void *buf, size_t count);
+
 /* Return 0 on a complete write, or -1 with errno set on failure. */
 int write_in_full(int fd, const void *buf, size_t count);
 
-- 
gitgitgadget
Technical Details
Message-ID: <ef314d773f1ea4129494e3e392ba9a7e65705dd5.1796394942.git.gitgitgadget@gmail.com>
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!git+bounces-77009-linux-kernel-git=dewy.ru
References: <pull.2253.git.1791958171.gitgitgadget@gmail.com> <pull.2253.v4.git.1796394942.gitgitgadget@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!git+bounces-77009-linux-kernel-git=dewy.ru
From: gitgitgadget@gmail.com ("Johannes Schindelin via GitGitGadget")
Newsgroups: linux.kernel.git
Subject: [PATCH v4 4/5] wrapper: add read_in_full_or_error()
Date: Fri, 04 Dec 2026 14:35:41 +0000
Organization: Usenet Network
Message-ID: <ef314d773f1ea4129494e3e392ba9a7e65705dd5.1796394942.git.gitgitgadget@gmail.com>
References: <pull.2253.git.1791958171.gitgitgadget@gmail.com>
	<pull.2253.v4.git.1796394942.gitgitgadget@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2785587"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:OIQuiSXFqbEKYygu56op3ir4yYU= sha256:azeNxruoQLWcO6A7vAFK6b3prQ4md/hArnPLVlXlv8k=
	sha1:hWTzeEFR4wHSC+bQ9e1yFDb6giI= sha256:8SR/WqU94+eN0ZVB6M/NsL/7syXQAOWNmB15FnD5sU0=
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 337B2117C25; Fri,  4 Dec 2026 17:36:11 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.197
X-Spam-Status: No, score=-2.197 tagged_above=-9999 required=6.31
	tests=[DCC_CHECK=1.1, 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.001,
	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=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 gXnou6HwxVYX;
	Fri,  4 Dec 2026 17:36:08 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=git+bounces-77009-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id E7F86117C2F; Fri,  4 Dec 2026 17:35:56 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id 1AB6C308CE; Fri,  4 Dec 2026 14:35:54 +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=1796394952;
	b=4mQXvQVMkj09m+TQJD3BEwV7wcMEy0a47NF+yrijLrBbKaAyOiodvU36687aCWh3UUOr
	 mv3d/xlpCON606SXi3TAcHe0VISQqE/SX7pDiX59UAh+0qbR0jHDHPGWCZHfRVGLrcx1T
	 lIYpb2FcO/KXp0HvNy9BagIKJLff0algfmHYHRN0r4ClzDFY5aUVQK2Wc47LU7SfL9MVk
	 yh8bnO9OiQ1RL6U5WvgDWUQvYHr2iP4RarPyI3+Oq2BZ6ieNMQKBOQ87/8dlAeix59ifb
	 of6EvUrNjgIGHTlQbHSjUrHCoUJgAfbPCN5uL2sz966JH5eRV1laFQJuwhWs3ubNyig==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796394952;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
	 Received:Message-Id:In-Reply-To:References:From:Date:Subject:Fcc:
	 Content-Type:Content-Transfer-Encoding:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:To:Cc;
	bh=hpSVmpSfGeA6OF8pHCLJkqtfuoS1pePqi7+FCzuwyXE=;
	b=nrWupM97HiA7SRirWwo+DYIlhTfxnsx5DDMhibOQi2jU2FEZtXsj3Uf+z/9kxnZ0XeJQ
	 aQ0L0CeYCGlqBfn/KCBk6FwRY4sCUe8QcXRI9GXKgmMJyLQkRr9qmWRjJCoaRsUrvBauG
	 xSg7Aru0MGFTKmia5aK46xy8HnLXgsQTIDltH6QleZ+IH+RberXlJovMjNHKjzXA39TxG
	 bb3S4iuUf2RXc2w9JM3ZldJKY4OcWBCA0qUX8hevQI5CqC6XdPfLoZKsRkbc7YduIaCfC
	 WqQmTJ8lL9XSx1AMjj/3rnrv/utzIZaHEhwcmaalvGvcXJ0KRvvbQlyb2VCcIEGpBSg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=D0KoXhxH;
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.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 149F6606A686;
	Fri,  4 Dec 2026 14:35:52 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=D0KoXhxH
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.218.43
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1796394951;
	b=uL2rVNYVlI+uHGxZkVJYt9+CB5w2fsGzrwvVA4n3YaUpqF8Ok0WXyI/VAb6MyOhpdIqQ
	 6EByItAHqhYohfKsIzLqSHQ6AENpNB6h8G98hfz4WS8Y693rYckSmD4ZcWq7gSOtIpVIo
	 EC6P04MuIN1kYSTYzD9WoxRmC/ruMZs2tKIkZhjK2iGKOqoeyU/pPDetUAoWoPtJl6Rhu
	 GNb2vt+Hc/5o3rUL8njO7o7WlMR6WfwV4CtVX2ku/VFktnWCgXhKh24U1okP5GZH+Vwjt
	 ITOlEhdv/V2uNqmlCEd1qfqGOJ5Jv4cYGxJEqsEmOy6AtBc368pNmVchrR5bzH91FlQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796394951;
	h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
	 X-Gm-Message-State:X-Gm-Gg:X-Received:Received:Message-Id:In-Reply-To:
	 References:From:Date:Subject:Fcc:Content-Type:
	 Content-Transfer-Encoding:MIME-Version:To:Cc;
	bh=hpSVmpSfGeA6OF8pHCLJkqtfuoS1pePqi7+FCzuwyXE=;
	b=Wq/AxeDK5UIiv90pY+jn9CDJm5jtUKRjPQHxgbfFUBiE8Hxo6NLmBbQRCZHoEN+2QWAb
	 TCQhreaLeVu7rBLvUKplaKE7CB7RIAuh+Z5quEQ7GiByJAjSCZ2ocKy5keqXbDYiCeTxr
	 9WekrApYu7gsEJYbu+r6PO9dKUzqLV3+cYYt6jZcPtrZmKcRKxl6ZEMqFkdEgbwsgiXYK
	 ZTOioFGeUdUKtYE7X3uN5jRxQU9jAw915wEffVGsbOwWMtYZZ7EBvzvsuXEX3ZUB0fojs
	 wkGBE2tbvRGM3J5aWjtAamYCinkN2nWKR9WFyl5CLmaEyTnAdTfD3i8b+hxKVRGoQxQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=D0KoXhxH;
	arc=none smtp.remote-ip=209.85.218.43
X-Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id D2E45606A33A
	for <git@vger.kernel.org>; Fri,  4 Dec 2026 14:35:50 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D2E45606A33A
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-ej1-f43.google.com with SMTP id a640c23a62f3a-c50aaad19fbso137347766b.0
        for <git@vger.kernel.org>; Fri, 04 Dec 2026 06:35:50 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20260707; t=1796394949; x=1796999749; darn=vger.kernel.org;
        h=cc:to:mime-version:content-transfer-encoding:content-type:fcc
         :subject:date:from:references:in-reply-to:message-id:from:to:cc
         :subject:date:message-id:reply-to:content-type;
        bh=hpSVmpSfGeA6OF8pHCLJkqtfuoS1pePqi7+FCzuwyXE=;
        b=D0KoXhxHLqgSE1NFm64Qv6ug3NRztQiANBv4CqxDu5OQ3qopvp4Em/8VcjyKFTO1yJ
         Bt81mXg41aAHICk/nZvwxkHfQog2olQLjlzrMr3jhE3vjAEoV1Lqe+x4VQw84Imgl4DN
         hdiWwUwKaKhh930CpuodDAfgzyATPbZqFbAf3hdm5NY3ku0au30ftpTAHlBy29BwniqJ
         0zpifdlJJqfXgSRiFf7W7lyGcUNdOISYY5pjkjRlDtVPx9rKZvE9Wyu+OebIMqHTKc/K
         jKcK+RjYNH9Z5htUOTM+UkUpHHYRFbVDKJcjxkVIE/CYnn1PY3RVlYOEx89nPpJP2l2W
         viQA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1796394949; x=1796999749;
        h=cc:to:mime-version:content-transfer-encoding:content-type:fcc
         :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=hpSVmpSfGeA6OF8pHCLJkqtfuoS1pePqi7+FCzuwyXE=;
        b=zL5QNZsJsvE5z4G1jxiLN784RZ8IUyEFJz7k0tq5h+RUQSAJAdO+pdBqP9CWs5HKEz
         frTgi5D0kA2c2iWLRfIdZXVnhGEbZKQIVAdm1QXXA2TBlhychwULotzaFLf5yLIoWy4P
         rnBzpfFNAcExv/Mdi/KqNjD0y0TzGNRXxj5250ryRypEVcB1117wvxfHK0xXWNafZ1p/
         vh0lOkcKGKsF+EywGvjhU+Vdk3GjJ8k4zGlZfBeciVLCZdBfJAh2cjR8ONIeIwAVEa9g
         WzBfap2hPiNVsirq/IySTRGi08709+bn0TU8KPfodJ9q4geMglIOkh0xulkOCOvJJPMC
         LSMw==
X-Gm-Message-State: APuU4Z+jcYH3e3ki/BavTuHcbg4mkQASJ/k4ItPP2yyDXmuTaEBb/T1Q
	NHFkyAGTv0C5ywNWyfSiHATsrcftm0Y3GnXeA1bVty6aRdrv755/qBsLaGtjTw==
X-Gm-Gg: AZFdTZeLy3Mb407EGp/eXOD++dOzt3dzeQdKZjFoXKTpxW8W81SLi7lP27wiBYQughR
	Vgx0uohZVW5S4TfPxRr1gqF+ju75lLXVBHMvsNO7aFyIfDU9olhUtYjFLK+gRT2+JisaVk5f9Fy
	TlkfjvR70g5YdzpRzJDMAs4Wm8vsgaPt4hqKKbSW8jXI0sQVqg+/DPkDS+qnhsC4hhYxBLRFWK2
	tousknJY7soydxrEV4fGjj6vgzkUGq9H7tnIKGovXNzfv2FZt1RIAU2fFYbdcJ5a86oA0q5bSmX
	VcIa6b4bfw2r7dm6uUjN6+ZhYyKL9TEronleGUJmcBxCwLTukyCVccA4we8t6bA8LQLIGlTa2Vo
	NGN9002Uc2rEOE21JnOnbsJxbPt3GJgWzbPnARyAqtaeqJRxCfrOv8k+4Hfhdp2FwhPQfB9M0KR
	T3Phi9+doXGFIDPFxhNTSQQdFVncTs8rAxLq6FLF6kONii7s6G1SUO91eP1ufadu/9aGSfQIpet
	W8bBlvUB1IugKrZ4gCE+nV0ftDa7DWPc5bRuc3YgtcdXuq05rvWkQmCXwaxyV8TjPRZKgyIzVXW
	f85PNJCa7ozm9awkk03Su8BZxlwMTC6/OcXdH4fNcJqq/tY+0uDclr7XG02a64yrp8WtSapp8ro
	=
X-Received: by 2002:a17:907:7294:b0:c52:5cdd:7782 with SMTP id a640c23a62f3a-c52624b824bmr143377766b.20.1796394948967;
        Fri, 04 Dec 2026 06:35:48 -0800 (PST)
X-Received: from [127.0.0.1] (ec2-3-41-210-122.compute-1.amazonaws.com. [3.41.210.122])
        by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c525b64dfe3sm122133266b.84.2026.12.04.06.35.48
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Fri, 04 Dec 2026 06:35:48 -0800 (PST)
X-In-Reply-To: <pull.2253.v4.git.1796394942.gitgitgadget@gmail.com>
X-Fcc: Sent
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-Cc: Phillip Wood <phillip.wood123@gmail.com>,
    Patrick Steinhardt <ps@pks.im>,
    Harald Nordgren <haraldnordgren@gmail.com>,
    Simon Richter <Simon.Richter@hogyros.de>,
    Aniket Gupta <aniketgupta3001@gmail.com>,
    Johannes Schindelin <johannes.schindelin@gmx.de>,
    Johannes Schindelin <johannes.schindelin@gmx.de>