git-export-filter.c: avoid extra LFs and grok get-markmaster
commit576e5caf2ad725a1fb41fe37d0c4a0f8d9dd0180
authorKyle J. McKay <mackyle@gmail.com>
Tue, 16 Jul 2019 10:17:45 +0000 (16 03:17 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Tue, 16 Jul 2019 10:17:45 +0000 (16 03:17 -0700)
tree62f9a7e5b1f09196b37b1b58586f3ba8de48eabd
parenta5091d19c51d5c678b69a9f858b8d0c026be2fff
git-export-filter.c: avoid extra LFs and grok get-mark

When git-export-filter writes the output, it adds "pretty" LFs
that are optional.  However, not all commands allow the optional
"pretty" LF to be added.  Omit the "pretty" LF where not allowed.

Grok the more recent "get-mark" command and handle it the same
way as the "cat-blob" and "ls" commands.
git-export-filter.c