Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Stupid quoting...

From: David Kastrup <hidden>
Date: 2016-06-15 22:43:18

Junio C Hamano [off-list ref] writes:
If I were to create a patch between two versions of such a file, the
diff header would show the pathname encoded in one, and the changed
contents would ben shown in another.  As long as you treat "git
diff" output as binary blob, that would work just fine, but when you
have to transmit such a diff in e-mail as an in-line patch, you
would have troubles.
ASCII-armoring of what amounts to binary files is the task of the mail
software.  Also working with encodings.  Escaping characters in the
diff headers but not in the file contents is not going to achieve
anything useful, anyway.

With the proper mailing software, you can get your diff across the
line in a manner where the other side can make use of it.  This is not
the case for unarmored mail with ^ escapes in them, since the
receiving side can't distinguish them from "real" ^ characters.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help