From: Linus Torvalds <torvalds@osdl.org>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org, Jan Engelhardt <jengelh@linux01.gwdg.de>,
Adrian Bunk <bunk@stusta.de>
Subject: Re: [PATCH 3/3] diff --stat: sometimes use non-linear scaling.
Date: Wed, 27 Sep 2006 08:12:49 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0609270810470.3952@g5.osdl.org> (raw)
In-Reply-To: <7vfyeejakq.fsf@assigned-by-dhcp.cox.net>
On Tue, 26 Sep 2006, Junio C Hamano wrote:
>
> When some files have big changes and others are touched only
> slightly, diffstat graph did not show differences among smaller
> changes that well. This changes the graph scaling to non-linear
> algorithm in such a case.
Ok, this is just _strange_.
> while with this, it shows:
>
> .gitignore | 1
> Documentation/git-tar-tree.txt | 3 +++++++++
No _way_ is it correct to show more than three characters if there were
three lines of changes.
I think "nonlinear" is fine, but this is something that is "superlinear"
in small changes, and then sublinear in bigger ones (and then apparently
totally wrong for one-line changes).
It should at least never be superlinear, I believe.
Linus
next prev parent reply other threads:[~2006-09-27 15:16 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-27 2:40 [PATCH 3/3] diff --stat: sometimes use non-linear scaling Junio C Hamano
2006-09-27 3:11 ` David Rientjes
2006-09-27 5:09 ` Junio C Hamano
2006-09-27 5:32 ` David Rientjes
2006-09-27 6:19 ` Junio C Hamano
2006-09-27 6:49 ` David Rientjes
2006-09-27 7:05 ` Junio C Hamano
2006-09-27 7:19 ` David Rientjes
2006-09-27 7:50 ` Johannes Schindelin
[not found] ` <BAYC1-PASMTP024D1DA4730F9DF93F857FAE1A0@CEZ.ICE>
2006-09-27 8:35 ` Johannes Schindelin
[not found] ` <20060927044112.cc170405.seanlkml@sympatico.ca>
2006-09-27 8:41 ` Sean
2006-10-06 15:53 ` Petr Baudis
2006-09-27 7:36 ` Johannes Schindelin
2006-09-27 9:16 ` Martin Waitz
2006-09-27 15:12 ` Linus Torvalds [this message]
2006-09-28 8:17 ` Martin Waitz
2006-09-28 9:20 ` Junio C Hamano
2006-09-29 10:56 ` Andreas Ericsson
-- strict thread matches above, loose matches on Subject: below --
2006-10-12 15:04 apodtele
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=Pine.LNX.4.64.0609270810470.3952@g5.osdl.org \
--to=torvalds@osdl.org \
--cc=bunk@stusta.de \
--cc=git@vger.kernel.org \
--cc=jengelh@linux01.gwdg.de \
--cc=junkio@cox.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).