Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stg: filter out existing Patchwork-Id from patch before import #14

Open
kvalo opened this issue Feb 14, 2017 · 0 comments
Open

stg: filter out existing Patchwork-Id from patch before import #14

kvalo opened this issue Feb 14, 2017 · 0 comments

Comments

@kvalo
Copy link
Owner

kvalo commented Feb 14, 2017

If a patch already has a Patchwork-Id (for example I have done that multiple times when picking patches from the pending branch and resubmitting them) pwcli adds a second one in the bottom:

Signed-off-by: Alice <[email protected]>
Patchwork-Id: 1111
Signed-off-by: Bob <[email protected]>
Patchwork-Id: 2222

But when pwcli reads the id from pending branch it uses the first id, which is the incorrect one.

One possible solution is to remove all lines which we start with "Patchwork-Id:". Another possibility is to reject the patch. Don't know what's the best.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant