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

Re: Incremental updates to What's cooking

From
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Date
Feb 29, 2012, 07:37 UTC
Message-ID
<4F4DD5C1.60604@in.waw.pl>
In-Reply-To
<7vy5rn1mar.fsf@alter.siamese.dyndns.org>
On 02/28/2012 07:53 AM, Junio C Hamano wrote:
Show 15 quoted lines
> * zj/diff-stat-dyncol (2012-02-27) 11 commits
>   - diff --stat: add config option to limit graph width
>   - diff --stat: enable limiting of the graph part
>   - diff --stat: add a test for output with COLUMNS=40
>   - diff --stat: use a maximum of 5/8 for the filename part
>   - merge --stat: use the full terminal width
>   - log --stat: use the full terminal width
>   - show --stat: use the full terminal width
>   - diff --stat: use the full terminal width
>   - diff --stat: tests for long filenames and big change counts
>   - t4014: addtional format-patch test vectors
>   - Merge branches zj/decimal-width, zj/term-columns and jc/diff-stat-scaler
>
> I resurrected the additional tests for format-patch from an earlier round,
> as it illustrates the behaviour change brought by "5/8 split" very well.

Hi, the resurrected tests are partly duplicated in 4052-stat-output.sh:

t4014: ok 75 - small change with long name gives more space to the name ok 76 - a long name is given more room when the bar is short ok 77 - format patch --stat-width=width works with long name * ok 78 - format patch --stat=...,name-width with long name * ok 79 - format patch --stat-name-width with long name * ok 81 - format patch graph part width * ok 82 - format patch ignores COLUMNS * ok 83 - format patch --stat=width with big change * ok 84 - format patch --stat-width=width with big change * ok 85 - partition between long name and big change is more balanced

t4052: ok 3 - format-patch graph width defaults to 80 columns ok 4 - format-patch --stat=width with long name ok 5 - format-patch --stat-width=width with long name ok 6 - format-patch --stat=...,name-width with long name ok 7 - format-patch --stat-name-width with long name ok 24 - format-patch ignores too many COLUMNS (big change) ok 28 - format-patch ignores not enough COLUMNS (big change) ok 29 - format-patch ignores statGraphWidth config ok 36 - format-patch --stat=width with big change ok 37 - format-patch --stat-width=width with big change ok 38 - format-patch --stat-graph--width with big change ok 49 - format-patch --stat=width with big change and long name ok 53 - format-patch ignores COLUMNS (long filename)

The ones with * are duplicated exactly. They tests run very fast, but maybe the duplicated ones should be culled.

Zbyszek
Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 23 in “Incremental updates to What's cooking”
  1. Junio C HamanoFeb 28, 2012
  2. Zbigniew Jędrzejewski-SzmekFeb 29, 2012
  3. Junio C HamanoFeb 29, 2012
  4. Zbigniew Jędrzejewski-SzmekFeb 29, 2012
  5. Junio C HamanoFeb 29, 2012
  6. Zbigniew Jędrzejewski-SzmekFeb 29, 2012
  7. Junio C HamanoFeb 29, 2012
  8. 1/9 diff --stat: tests for long filenames and big change countsZbigniew Jędrzejewski-Szmek, Mar 1, 2012
  9. 2/9 diff --stat: use the full terminal widthZbigniew Jędrzejewski-Szmek, Mar 1, 2012
  10. 3/9 show --stat: use the full terminal widthZbigniew Jędrzejewski-Szmek, Mar 1, 2012
  11. 4/9 log --stat: use the full terminal widthZbigniew Jędrzejewski-Szmek, Mar 1, 2012
  12. 5/9 merge --stat: use the full terminal widthZbigniew Jędrzejewski-Szmek, Mar 1, 2012
  13. 6/9 diff --stat: use a maximum of 5/8 for the filename partZbigniew Jędrzejewski-Szmek, Mar 1, 2012
  14. Junio C HamanoMar 1, 2012
  15. Jeff KingMar 26, 2012
  16. t4052: unset $COLUMNS inherited from environmentZbigniew Jędrzejewski-Szmek, Mar 27, 2012
  17. Jeff KingMar 27, 2012
  18. tests: unset COLUMNS inherited from environmentZbigniew Jędrzejewski-Szmek, Mar 27, 2012
  19. Jeff KingMar 27, 2012
  20. Johannes SixtMar 27, 2012
  21. 7/9 diff --stat: add a test for output with COLUMNS=40Zbigniew Jędrzejewski-Szmek, Mar 1, 2012
  22. 8/9 diff --stat: enable limiting of the graph partZbigniew Jędrzejewski-Szmek, Mar 1, 2012
  23. 9/9 diff --stat: add config option to limit graph widthZbigniew Jędrzejewski-Szmek, Mar 1, 2012

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.