Merge branch 'jk/vreport-sanitize' into next
authorJunio C Hamano <gitster@pobox.com>
Wed, 18 Jan 2017 22:56:05 +0000 (14:56 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Jan 2017 22:56:05 +0000 (14:56 -0800)
commit4bbf370981ca379093b7062dfaec542a6a09a3ce
tree45ed7a7386895c22e5527880e7a891bba5c61d9a
parentdd1b9d1fa81d75b8393fa32b00aa7b0d260b824d
parentf290089879501a855df2eb41db5b38cb0035a765
Merge branch 'jk/vreport-sanitize' into next

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