From: Joe Perches <joe@perches.com>
To: CaoRuichuang <create0818@163.com>, apw@canonical.com
Cc: dwaipayanray1@gmail.com, lukas.bulwahn@gmail.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] scripts: allow checkpatch and get_maintainer in sparse checkouts
Date: Sun, 05 Apr 2026 12:12:05 -0700 [thread overview]
Message-ID: <ee96f74c9f9f43ccdaca82b8d3909522b2231ed8.camel@perches.com> (raw)
In-Reply-To: <20260405185504.76040-1-create0818@163.com>
On Mon, 2026-04-06 at 02:55 +0800, CaoRuichuang wrote:
> checkpatch.pl and get_maintainer.pl currently reject sparse checkouts because top_of_kernel_tree() insists on top-level directories such as arch/, drivers/ and fs/ being present in the working tree.
So add / use the command-line --notree option instead ?
next prev parent reply other threads:[~2026-04-05 19:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-05 18:55 CaoRuichuang
2026-04-05 19:12 ` Joe Perches [this message]
2026-04-05 19:15 ` [PATCH v2 0/2] scripts: support sparse checkouts in checkpatch tools CaoRuichuang
2026-04-05 19:15 ` [PATCH v2 1/2] scripts: allow checkpatch and get_maintainer in sparse checkouts CaoRuichuang
2026-04-05 19:26 ` Joe Perches
2026-04-05 19:39 ` CaoRuichuang
2026-04-05 19:15 ` [PATCH v2 2/2] scripts: add sparse checkout regression test for checkpatch tools CaoRuichuang
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=ee96f74c9f9f43ccdaca82b8d3909522b2231ed8.camel@perches.com \
--to=joe@perches.com \
--cc=apw@canonical.com \
--cc=create0818@163.com \
--cc=dwaipayanray1@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lukas.bulwahn@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
all inboxes | Powered by JetHome®