From: Jialong Wang <jerrywang183@yahoo.com>
To: git@vger.kernel.org
Cc: gitster@pobox.com, karthik.188@gmail.com,
Jialong Wang <jerrywang183@yahoo.com>
Subject: [PATCH v4 0/3] apply: report input file for more parse errors
Date: Tue, 17 Mar 2026 12:23:18 -0400 [thread overview]
Message-ID: <20260317162321.71812-1-jerrywang183@yahoo.com> (raw)
In-Reply-To: <20260316162123.84532-1-jerrywang183@yahoo.com>
Rerolling these changes as a single series, since the follow-up patches
are all part of the same input-location reporting topic in apply.c.
The first patch updates the existing "corrupt patch at line N"
diagnostic to include the input file name.
The second patch extends the same treatment to header parsing related
errors, and the third patch does the same for binary patch and garbage
patch errors.
Jialong Wang (3):
apply: report the location of corrupt patches
apply: report input location in header parsing errors
apply: report input location in binary and garbage patch errors
apply.c | 100 +++++++++++++++++++++++++++++-----------
apply.h | 1 +
range-diff.c | 2 +-
t/t4012-diff-binary.sh | 4 +-
t/t4100-apply-stat.sh | 88 ++++++++++++++++++++++++++++++++++-
t/t4103-apply-binary.sh | 20 +++++++-
t/t4254-am-corrupt.sh | 3 +-
7 files changed, 185 insertions(+), 33 deletions(-)
--
2.51.0
next prev parent reply other threads:[~2026-03-17 16:23 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20260315231538.68586-1-jerrywang183.ref@yahoo.com>
2026-03-15 23:15 ` [GSoC PATCH] apply: report the location of corrupt patches Jialong Wang
2026-03-16 11:14 ` Karthik Nayak
2026-03-16 11:34 ` Jialong Wang
2026-03-16 11:34 ` [GSoC PATCH v2] " Jialong Wang
2026-03-16 18:19 ` Junio C Hamano
2026-03-16 16:21 ` [GSoC PATCH v3] " Jialong Wang
2026-03-17 16:23 ` Jialong Wang [this message]
2026-03-17 16:23 ` [PATCH v4 1/3] " Jialong Wang
2026-03-17 16:23 ` [PATCH v4 2/3] apply: report input location in header parsing errors Jialong Wang
2026-03-17 16:23 ` [PATCH v4 3/3] apply: report input location in binary and garbage patch errors Jialong Wang
[not found] ` <xmqq8qq6y4ql.fsf@gitster.g>
2026-03-16 18:31 ` [GSoC PATCH v2] apply: report the location of corrupt patches Jialong Wang
2026-03-16 20:12 ` Junio C Hamano
2026-03-16 19:58 ` [GSoC PATCH] apply: report input location in header parsing errors Jialong Wang
2026-03-16 19:58 ` Jialong Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260317162321.71812-1-jerrywang183@yahoo.com \
--to=jerrywang183@yahoo.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=karthik.188@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox