Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Patchwork sees cover letter as patch if it contains an --interdiff

Open
#468 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

Start by reproducing the issue with the shown git format-patch command and the linked cover-letter example, then trace Patchwork's patch parsing entry point. Done means diffs in a cover letter are not recorded as a patch while ordinary patches continue to be recognized.

Written by the indexing model from the issue text.

Description

bug parser

To reproduce:

  1. git format-patch --cover-letter --interdiff=some-feature/v1 -v2 -o foo-v2 somerangehere
  2. feed into patchwork
  3. get something like this, which shouldn't be picked up by patchwork https://patchwork.kernel.org/project/linux-rockchip/patch/20220511155309.2637-1-frattaroli.nicolas@gmail.com/

Suggested remedy is to either ignore diffs in cover letters or ignore diffs containing the word Interdiff in the previous line.

Dominant language
Python
Stars
317
Forks
91
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from getpatchwork/patchwork

All issues in getpatchwork/patchwork

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.