On Wed, Oct 17, 2012 at 11:28 AM, Junio C Hamano <gits...@pobox.com> wrote:
> I think listing a file whose content remain unchanged with 0 as the
> number of lines affected makes sense, and it will mesh well with
> I first wondered if we would get a division-by-zero while scaling
> the graph, but we do not scale smaller numbers up to fill the
> columns, so we should be safe.
Note that we should be safe for a totally different - and more
fundamental - reason: the zero line case is by no means new. We've
always done it for the rename case.
> These days, we omit 0 insertions and 0 deletions, so I am not sure
> what you should get for this case, though:
>> Makefile | 0
>> 1 file changed, 0 insertions(+), 0 deletions(-)
> Should we just say "1 file changed"?
If that is what it does for the rename case, then yes. I think it
should fall out naturally.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html