fix obviously wrong attoparsec parser
authorJoey Hess <joeyh@joeyh.name>
Mon, 7 Feb 2022 18:09:43 +0000 (14:09 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 7 Feb 2022 18:15:17 +0000 (14:15 -0400)
commit6992250d63484a6cf3e5d22b9137d23a3fe1a63e
treecb54138d6d9b4db0cab34e7c743d44cacfcd5c26
parent65ca0b49d6e3a4f2cce7f0dacef022ca63962fe4
fix obviously wrong attoparsec parser

takeByteString can only be used at the end of a parser, not before other
input. This was a dumb enough mistake that I audited the rest of the
code base for similar mistakes. Pity that attoparsec cannot avoid it at
the type level.

Fixes git-annex forget propagation between repositories. (reversion
introduced in version 7.20190122)

Sponsored-by: Brock Spratlen on Patreon
CHANGELOG
Logs/Transitions.hs
doc/bugs/sync_does_not_propagate_forgetfulness.mdwn
doc/bugs/sync_does_not_propagate_forgetfulness/comment_1_acc9744be183c297c6410f9b0a30b46b._comment [new file with mode: 0644]
doc/forum/No_luck_getting_forgetfulness_does_not_propagate/comment_2_81c98f50953860c15473e958c55d1e4b._comment [new file with mode: 0644]