]> 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:09:44 +0000 (14:09 +0000)
commit58051431a33f87f5bcec58c1fbdc7e0fcb26fdc6
treeffa7ef4102d167337236834d73c261588fb45690
parentaa75400ff7cf34553eaf22289ce00060a64e86b5
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>
(cherry picked from commit 1633afe5b46042d522777f66b1959a82298d0ab2)
patchwork/parser.py
patchwork/tests/mail/0024-git-pull-request-trailing-space.mbox [new file with mode: 0644]
patchwork/tests/test_parser.py