git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 3/3] diff --stat: sometimes use non-linear scaling.

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Sep 27, 2006, 07:36 UTC
Message-ID
<Pine.LNX.4.63.0609270929590.14200@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<7vfyeejakq.fsf@assigned-by-dhcp.cox.net>
Hi,
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.

I want to say something about the purpose of the patch, not some totally unimportant superficialities.

In your example, a three line change has more than three plusses, and I find that wrong.

But I would actually find another change very useful: still linear, but such that if lines were added, at least one plus should be shown, and likewise with minus. (Often I ask myself, was this file removed, or just dramatically reduced, when I only see minusses).

Ciao, Dscho

Previous: Petr BaudisNext: Martin Waitz
Message 11 of 18 in “diff --stat: sometimes use non-linear scaling.”
  1. 3/3 diff --stat: sometimes use non-linear scaling.Junio C Hamano, Sep 27, 2006
  2. David RientjesSep 27, 2006
  3. Junio C HamanoSep 27, 2006
  4. David RientjesSep 27, 2006
  5. Junio C HamanoSep 27, 2006
  6. David RientjesSep 27, 2006
  7. Junio C HamanoSep 27, 2006
  8. David RientjesSep 27, 2006
  9. Johannes SchindelinSep 27, 2006
  10. Petr BaudisOct 6, 2006
  11. Johannes SchindelinSep 27, 2006
  12. Martin WaitzSep 27, 2006
  13. Linus TorvaldsSep 27, 2006
  14. Martin WaitzSep 28, 2006
  15. Junio C HamanoSep 28, 2006
  16. Andreas EricssonSep 29, 2006
  17. Johannes SchindelinSep 27, 2006
  18. SeanSep 27, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.