scripts: support sparse checkouts in checkpatch tools
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesIn review
- v11 patch 1 replySuperseded
Changes in v2 from the cover letter
- add a regression test for sparse checkout handling in checkpatch.pl and get_maintainer.pl
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | scripts: allow checkpatch and get_maintainer in sparse checkoutsscripts/ scripts/ | +3 | 2 replies | |
| 2/2 | scripts: add sparse checkout regression test for checkpatch toolsscripts/ | +48 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] scripts: support sparse checkouts in checkpatch tools
checkpatch.pl and get_maintainer.pl currently reject sparse checkouts because their top_of_kernel_tree() checks require top-level directories that may not be present in a sparse working tree.
This series relaxes that check to match the files the scripts actually need and adds a regression test to keep that behavior from regressing.
Changes in v2:
- add a regression test for sparse checkout handling in checkpatch.pl and get_maintainer.pl
CaoRuichuang (2):
scripts: allow checkpatch and get_maintainer in sparse checkouts
scripts: add sparse checkout regression test for checkpatch tools
scripts/checkpatch-sparse-checkout-test.sh | 48 ++++++++++++++++++++++ scripts/checkpatch.pl | 4 +- scripts/get_maintainer.pl | 9 +--- 3 files changed, 51 insertions(+), 10 deletions(-) create mode 100755 scripts/checkpatch-sparse-checkout-test.sh
Signature · 1 line
2.39.5 (Apple Git-154)