Merge branch 'jk/vreport-sanitize'
authorJunio C Hamano <gitster@pobox.com>
Tue, 31 Jan 2017 21:14:56 +0000 (13:14 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 31 Jan 2017 21:14:56 +0000 (13:14 -0800)
commitdaf75f2e6bb9f2f723eb0532c08dd6002fb17190
tree6ad3067774f4cb0f6c8924816ad25c5376053b67
parent4e59582ff70d299f5a88449891e78d15b4b3fabe
parentf290089879501a855df2eb41db5b38cb0035a765
Merge branch 'jk/vreport-sanitize'

An error message with an ASCII control character like '\r' in it
can alter the message to hide its early part, which is problematic
when a remote side gives such an error message that the local side
will relay with a "remote: " prefix.

* jk/vreport-sanitize:
  vreport: sanitize ASCII control chars
  Revert "vreportf: avoid intermediate buffer"
usage.c