diff options
author | Jeff King <peff@peff.net> | 2016-08-03 19:00:23 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-08-05 09:28:16 -0700 |
commit | b3a1c5da0242c936bfc007722aa0011494629b32 (patch) | |
tree | 838e0114c738035f110499711a817fe8c3c0ee90 /connect.c | |
parent | trace: use warning() for printing trace errors (diff) | |
download | tgif-b3a1c5da0242c936bfc007722aa0011494629b32.tar.xz |
trace: cosmetic fixes for error messages
The error messages for the trace code are often multi-line;
the first line gets a nice "warning:", but the rest are
left-aligned. Let's give them an indentation to make sure
they stand out as a unit.
While we're here, let's also downcase the first letter of
each error (our usual style), and break up a long line of
advice (since we're already using multiple lines, one more
doesn't hurt).
We also replace "What does 'foo' for GIT_TRACE mean?". While
cute, it's probably a good idea to give more context, and
follow our usual styles. So it's now "unknown trace value
for 'GIT_TRACE': foo".
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'connect.c')
0 files changed, 0 insertions, 0 deletions