git-annex/CmdLine
Joey Hess c4ad9b1446
Fix bug in -z handling of trailing NUL in input
The obvious way to fix this would be to adapt lines to split on null.

However, it's actually nontrivial to rewrite lines. In particular it has a
weird implementation to avoid a space leak. See:
https://gitlab.haskell.org/ghc/ghc/-/issues/4334

Also, while that is a small amount of code, it's covered by a rather
complex copyright and I'd have to include that copyright in git-annex.

So, I opted to filter out the trailing empty string instead.

Sponsored-by: Dartmouth College's Datalad project
2023-05-19 14:34:02 -04:00
..
GitAnnex Revert "--json-exceptions" 2023-04-25 17:37:34 -04:00
GitAnnexShell uninit: Support --json and --json-error-messages 2023-05-11 13:43:02 -04:00
Action.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
AnnexSetter.hs remove --backend from global options 2022-06-29 13:33:25 -04:00
Batch.hs Fix bug in -z handling of trailing NUL in input 2023-05-19 14:34:02 -04:00
GitAnnex.hs git-annex assist 2023-05-18 14:37:43 -04:00
GitAnnexShell.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
GitRemoteTorAnnex.hs filter out control characters in error messages 2023-04-10 13:50:51 -04:00
Option.hs improve description of --debugfilter 2023-05-17 12:38:22 -04:00
Seek.hs json object for FileNotFound 2023-04-25 19:26:20 -04:00
Usage.hs add FIELD?=GLOB to git-annex view usage 2023-02-07 18:09:10 -04:00