By | ~fr33domlover |
At | 2019-11-07 |
Title | Strip whitespace from patch description when refining parsed raw patch |
Description |
Edit file src/Development/Darcs/Internal/Patch.hs 0 → 0
+ 31 import Data.Char
… … … … - 62 l -> Just $ BC.unlines l
+ 63 l -> Just $ stripSpace $ BC.unlines l
+ 73 where
+ 74 stripSpace = dropWhileEnd isSpace . BC.dropWhile isSpace
+ 75 where
+ 76 dropWhileEnd p = fst . BC.spanEnd p
… … … …