]> git.ipfire.org Git - thirdparty/git.git/commit - trace.c
trace: cosmetic fixes for error messages
authorJeff King <peff@peff.net>
Wed, 3 Aug 2016 23:00:23 +0000 (19:00 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Aug 2016 16:28:16 +0000 (09:28 -0700)
commitb3a1c5da0242c936bfc007722aa0011494629b32
tree838e0114c738035f110499711a817fe8c3c0ee90
parent38f460caa26e5dd06c3e874e30ea0ec5beb49b56
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>
trace.c