From: Sasha Levin <sashal@kernel.org>
To: Hamdy Abou El Anein <info@daylightlinux.ch>
Cc: Hamdy Abou El Anein <hamdy.aea@protonmail.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] scripts: git-resolve: search beyond ten body-only matches
Date: Wed, 4 Nov 2026 07:55:44 -0500 [thread overview]
Message-ID: <20261104125544.3769405-1-sashal@kernel.org> (raw)
In-Reply-To: <20261104054340.10911-1-info@daylightlinux.ch>
On Wed, Nov 04, 2026 at 06:43:40AM +0100, Hamdy Abou El Anein wrote:
> The forced subject lookup asks git log for at most ten matches before
> checking their subjects. Since --grep also searches message bodies, ten
> newer body-only matches can hide an older commit with the requested
> subject.
>
> Match commit subjects directly, so body-only matches cannot hide an
> older subject and grep stops at the first matching subject.
Acked-by: Sasha Levin <sashal@kernel.org>
--
Thanks,
Sasha
prev parent reply other threads:[~2026-11-04 12:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-03 16:42 [PATCH] " Hamdy Abou El Anein
2026-11-03 17:26 ` Sasha Levin
2026-11-04 5:43 ` [PATCH v2] " Hamdy Abou El Anein
2026-11-04 12:55 ` Sasha Levin [this message]
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=20261104125544.3769405-1-sashal@kernel.org \
--to=sashal@kernel.org \
--cc=hamdy.aea@protonmail.com \
--cc=info@daylightlinux.ch \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®