avoid using MonadFail in ParseDuration
authorJoey Hess <joeyh@joeyh.name>
Sat, 15 Aug 2020 19:53:35 +0000 (15:53 -0400)
committerJoey Hess <joeyh@joeyh.name>
Sat, 15 Aug 2020 19:53:35 +0000 (15:53 -0400)
commit4c58433c48b4780762b9ef5686c8ed248f9af145
tree112cf48d82f0f70e3c585d951982d54b6538ade8
parentad64079b44c83e99feaf55a9ad73fbfcfc5129a4
avoid using MonadFail in ParseDuration

There's no instance for Either String, so that makes it not as useful as
it could be, so instead just return an Either String.
CmdLine/GitAnnex/Options.hs
Command/Assistant.hs
Command/Expire.hs
Command/Fsck.hs
Types/GitConfig.hs
Types/ScheduledActivity.hs
Utility/HumanTime.hs