Thread (2 messages) flat view 2 messages, 2 authors, 2017-09-27

What's the idea of specifying binary=true together with textconv?

From: Ilya Kantor <hidden>
Date: 2017-09-27 19:06:51

Hello,

When textconv is specified, the program is always used for conversion.

E.g. consider this:
[diff "png"]
  textconv = wc

Even if a png file is ASCII (manually created), wc gets called, and
the result is made of its output.

So, the question is: why should one specify binary = true together
with textconv?

There is an example in docs:
[diff "ps"]
  textconv = ps2ascii
  binary = true

...But what binary = true does here?
Even if we remove it, textconv is called for all ps-files.

---
Best Regards,
Ilya Kantor
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help