git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Jeff King <peff@peff.net>
Cc: Lea Wiemann <lewiemann@gmail.com>, git@vger.kernel.org
Subject: Re: [PATCH 3/4] avoid trailing whitespace in zero-change diffstat lines
Date: Sat, 14 Jun 2008 00:22:38 -0700	[thread overview]
Message-ID: <7vtzfwh45d.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: 20080614065614.GC9006@sigill.intra.peff.net

Jeff King <peff@peff.net> writes:

> In some cases, we produce a diffstat line even though no lines have
> changed (e.g., because of an exact rename). In this case, there is no
> +/- "graph" after the number of changed lines. However, we output the
> space separator unconditionally, meaning that these lines contained a
> trailing space character.
>
> This isn't a huge problem, but in cleaning up the output we are able to
> eliminate some trailing whitespace from a test vector.

This is why I love your patches.  Not merely fixing superficial issues but
doing so with _real thinking_ ;-)

  reply	other threads:[~2008-06-14  7:23 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-12 22:35 [PATCH] t/.gitattributes: only ignore whitespace errors in test files Lea Wiemann
2008-06-13  6:06 ` Jeff King
2008-06-13  7:49   ` [PATCH v2] " Lea Wiemann
2008-06-13 10:00   ` [PATCH] " Junio C Hamano
2008-06-14  6:48     ` Jeff King
2008-06-14  6:51       ` [PATCH 1/4] fix whitespace violations in test scripts Jeff King
2008-06-14  7:01         ` Jeff King
2008-06-14  7:20         ` Junio C Hamano
2008-06-14  7:22           ` Jeff King
2008-06-14  7:25             ` [PATCH v2 1/5] " Jeff King
2008-06-14  7:26             ` [PATCH v2 2/5] mask necessary whitespace policy " Jeff King
2008-06-14  7:27             ` [PATCH v2 3/5] avoid whitespace on empty line in automatic usage message Jeff King
2008-06-14  7:27             ` [PATCH v2 4/5] avoid trailing whitespace in zero-change diffstat lines Jeff King
2008-06-14  7:28             ` [PATCH v2 5/5] enable whitespace checking of test scripts Jeff King
2008-06-14  6:54       ` [PATCH 2/4] mask necessary whitespace policy violations in " Jeff King
2008-06-14  6:56       ` [PATCH 3/4] avoid trailing whitespace in zero-change diffstat lines Jeff King
2008-06-14  7:22         ` Junio C Hamano [this message]
2008-06-14  7:30           ` Jeff King
2008-06-14  6:56       ` [PATCH 4/4] enable whitespace checking of test scripts Jeff King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7vtzfwh45d.fsf@gitster.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=lewiemann@gmail.com \
    --cc=peff@peff.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).