]> git.ipfire.org Git - thirdparty/patchwork.git/commit
Handle pull requests with random trailing space
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>
Mon, 27 Jan 2020 17:56:19 +0000 (12:56 -0500)
committerStephen Finucane <stephen@that.guru>
Sat, 1 Feb 2020 14:08:54 +0000 (14:08 +0000)
commit1633afe5b46042d522777f66b1959a82298d0ab2
tree4824e8e2f708b58d3530dbad54063aa73032b8dd
parentf45ebc99b5393447125ba544d76fb5c26b735166
Handle pull requests with random trailing space

Another fix for copy-pasted pull requests, this time for cases
when something is copy-pasted from a terminal and retains all
the bogus trailing whitespace.

Example:
https://lore.kernel.org/r/043eb5b2-a302-4de6-a3e8-8238e49483b1@ti.com

Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Reviewed-by: Stephen Finucane <stephen@that.guru>
patchwork/parser.py
patchwork/tests/mail/0024-git-pull-request-trailing-space.mbox [new file with mode: 0644]
patchwork/tests/test_parser.py