git-annex/Messages
Joey Hess df6f9f1ee8
filter out control characters and quote filenames
Searched for uses of putStr and hPutStr and changed appropriate ones to filter
out control characters and quote filenames.

This notably does not make find and findkeys quote filenames in their default
output. Because they should only do that when stdout is non a pipe.

A few commands like calckey and lookupkey seem too low-level to make sense to filter
output, so skipped those.

Also when relaying output from other commands that is not progress output,
have git-annex filter out control characters.

Sponsored-by: k0ld on Patreon
2023-04-11 14:27:22 -04:00
..
Concurrent.hs generalize to allow running in Assistant monad 2020-12-04 13:07:30 -04:00
Internal.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
JSON.hs factor out Utility.Aeson.textKey 2022-03-02 18:24:06 -04:00
Progress.hs filter out control characters and quote filenames 2023-04-11 14:27:22 -04:00
Serialized.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00